|
PLASMA
2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
| void CORE_clanhe | ( | int | norm, |
| PLASMA_enum | uplo, | ||
| int | N, | ||
| const PLASMA_Complex32_t * | A, | ||
| int | LDA, | ||
| float * | work, | ||
| float * | normA | ||
| ) |
CORE_clanhe returns the value
clanhe = ( 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 | = PlasmaUpper: Upper triangle of A is stored; = PlasmaLower: Lower triangle of A is stored. |
| [in] | N | The number of columns/rows of the matrix A. N >= 0. When N = 0, the returned value is set to zero. |
| [in] | A | The N-by-N matrix A. |
| [in] | LDA | The leading dimension of the array A. LDA >= max(1,N). |
| [in,out] | work | Array of dimension (MAX(1,LWORK)), where LWORK >= N when norm = PlasmaInfNorm or PlasmaOneNorm; otherwise, work is not referenced. |
| [out] | normA | On exit, normA is the norm of matrix A. |