|
|
◆ zlanhe()
| double zlanhe |
( |
char |
norm, |
|
|
char |
uplo, |
|
|
int |
n, |
|
|
int |
lda, |
|
|
doublecomplex |
a[], |
|
|
double |
work[] |
|
) |
| |
One norm, Frobenius norm, infinity norm, or largest absolute value of any element of a Hermitian matrix
- Purpose
- This routine returns the value of the one norm, the Frobenius norm, the infinity norm, or the largest absolute value of any element of a Hermitian matrix A.
- Returns
- max(abs(Aij)) when norm = 'M',
norm1(A) when norm = '1' or 'O',
normI(A) when norm = 'I', or
normF(A) when norm = 'F' or 'E'
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(Aij)) is not a consistent matrix norm.
- Parameters
-
| [in] | norm | Specifies the value to be returned by zlanhe as described above. Note that normI(A) = norm1(A) since A is Hermitian. |
| [in] | uplo | Specifies whether the upper or lower triangular part of the Hermitian matrix A is to be referenced.
= 'U': Upper triangular part of A is to be referenced.
= 'L': Lower triangular part of A is to be referenced. |
| [in] | n | Order of the matrix A. (n >= 0) (If n = 0, returns 0) |
| [in] | lda | Leading dimension of the two dimensional array a[][]. (lda >= max(1, n)) |
| [in] | a[][] | Array a[la][lda] (la >= n)
n x n Hermitian matrix A. Only the upper or lower triangular part is to be referenced in accordance with uplo. The imaginary parts of the diagonal elements need not be set and are assumed to be zero. |
| [out] | work[] | Array work[lwork] (lwork >= max(1, n) when norm = 'I', '1' or 'O', otherwise work[] is not referenced)
Work array. |
- Reference
- LAPACK
|