|
PLASMA
2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
| void CORE_zlantr | ( | PLASMA_enum | norm, |
| PLASMA_enum | uplo, | ||
| PLASMA_enum | diag, | ||
| int | M, | ||
| int | N, | ||
| const PLASMA_Complex64_t * | A, | ||
| int | LDA, | ||
| double * | work, | ||
| double * | normA | ||
| ) |
CORE_zlantr returns the value
zlantr = ( 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.
| [in] | norm | = PlasmaMaxNorm: Max norm = PlasmaOneNorm: One norm = PlasmaInfNorm: Infinity norm = PlasmaFrobeniusNorm: Frobenius norm |
| [in] | uplo | Specifies 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] | diag | Specifies whether or not A is unit triangular: = PlasmaNonUnit: A is non unit; = PlasmaUnit: A us unit. |
| [in] | M | The number of rows of the matrix A. M >= 0. If uplo == PlasmaUpper, M <= N. When M = 0, CORE_zlantr returns 0. |
| [in] | N | The number of columns of the matrix A. N >= 0. If uplo == PlasmaLower, N <= M. When N = 0, CORE_zlantr returns 0. |
| [in] | A | The LDA-by-N matrix A. |
| [in] | LDA | The leading dimension of the array A. LDA >= max(1,M). |
| [in,out] | work | Array of dimension (MAX(1,LWORK)), where LWORK >= M when norm = PlasmaInfNorm, or LWORK >= N when norm = PlasmaOneNorm; otherwise, work is not referenced. |
| [out] | normA | On exit, normA is the norm of matrix A. |