PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
double PLASMA_dlantr ( PLASMA_enum  norm,
PLASMA_enum  uplo,
PLASMA_enum  diag,
int  M,
int  N,
double *  A,
int  LDA 
)

PLASMA_dlantr returns the value

dlantr = ( max(abs(A(i,j))), NORM = PlasmaMaxNorm ( ( norm1(A), NORM = PlasmaOneNorm ( ( normI(A), NORM = PlasmaInfNorm ( ( normF(A), NORM = PlasmaFrobeniusNorm

where norm1 denotes the one norm of a matrix (maximum column sum), normI denotes the infinity norm of a matrix (maximum row sum) and normF denotes the Frobenius norm of a matrix (square root of sum of squares). Note that max(abs(A(i,j))) is not a consistent matrix norm.

Parameters
[in]norm= PlasmaMaxNorm: Max norm = PlasmaOneNorm: One norm = PlasmaInfNorm: Infinity norm = PlasmaFrobeniusNorm: Frobenius norm
[in]uploSpecifies whether the matrix A is upper triangular or lower triangular: = PlasmaUpper: Upper triangle of A is stored; = PlasmaLower: Lower triangle of A is stored.
[in]diagSpecifies whether or not A is unit triangular: = PlasmaNonUnit: A is non unit; = PlasmaUnit: A us unit.
[in]MThe number of rows of the matrix A. M >= 0. When M = 0, the returned value is set to zero. If uplo == PlasmaUpper, M <= N.
[in]NThe number of columns of the matrix A. N >= 0. When N = 0, the returned value is set to zero. If uplo == PlasmaLower, N <= M.
[in]AThe M-by-N matrix A.
[in]LDAThe leading dimension of the array A. LDA >= max(1,M).
Returns
Return values
thenorm described above.
See also
PLASMA_dlantr_Tile
PLASMA_dlantr_Tile_Async
PLASMA_clantr
PLASMA_dlantr
PLASMA_slantr