double PLASMA_dlange ( PLASMA_enum  norm,
int  M,
int  N,
double *  A,
int  LDA,
double *  work 
)

PLASMA_dlange returns the value

dlange = ( 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] M The number of rows of the matrix A. M >= 0. When M = 0, the returned value is set to zero.
[in] N The number of columns of the matrix A. N >= 0. When N = 0, the returned value is set to zero.
[in] A The M-by-N matrix A.
[in] LDA The leading dimension of the array A. LDA >= max(1,M).
[in] work double precision array of dimension (MAX(1,LWORK)), where LWORK >= M when NORM = PlasmaInfNorm; otherwise, WORK is not referenced.
Returns:
Return values:
the norm described above.
See also:
PLASMA_dlange_Tile
PLASMA_dlange_Tile_Async
PLASMA_clange
PLASMA_dlange
PLASMA_slange
 All Data Structures
Generated by  doxygen 1.6.3