lanhe#

Functions

f32 clanhe(
    const char*          norm,
    const char*          uplo,
    const INT            n,
    const c64*  restrict A,
    const INT            lda,
          f32*  restrict work
);
f32 clanhe(const char *norm, const char *uplo, const INT n, const c64 *restrict A, const INT lda, f32 *restrict work)#

CLANHE returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex hermitian matrix A.

Parameters

in
norm

Specifies the value to be returned: = ‘M’ or ‘m’: max(abs(A(i,j))) = “1”, ‘O’ or ‘o’: norm1(A) (max column sum) = ‘I’ or ‘i’: normI(A) (max row sum) = “F”, “f”, ‘E’ or ‘e’: normF(A) (Frobenius norm) Note: norm1(A) = normI(A) since A is hermitian.

in
uplo

Specifies whether the upper or lower triangular part of A is referenced: = ‘U’: Upper triangular part of A is referenced = ‘L’: Lower triangular part of A is referenced

in
n

The order of the matrix A. n >= 0. When n = 0, clanhe returns zero.

in
A

Single complex array, dimension (lda, n). The hermitian matrix A. Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero.

in
lda

The leading dimension of A. lda >= max(n, 1).

out
work

Single precision array, dimension (max(1, lwork)). where lwork >= n when norm = ‘I’ or ‘1’ or ‘O’; otherwise, work is not referenced.

Functions

f64 zlanhe(
    const char*          norm,
    const char*          uplo,
    const INT            n,
    const c128* restrict A,
    const INT            lda,
          f64*  restrict work
);
f64 zlanhe(const char *norm, const char *uplo, const INT n, const c128 *restrict A, const INT lda, f64 *restrict work)#

ZLANHE returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex hermitian matrix A.

Parameters

in
norm

Specifies the value to be returned: = ‘M’ or ‘m’: max(abs(A(i,j))) = “1”, ‘O’ or ‘o’: norm1(A) (max column sum) = ‘I’ or ‘i’: normI(A) (max row sum) = “F”, “f”, ‘E’ or ‘e’: normF(A) (Frobenius norm) Note: norm1(A) = normI(A) since A is hermitian.

in
uplo

Specifies whether the upper or lower triangular part of A is referenced: = ‘U’: Upper triangular part of A is referenced = ‘L’: Lower triangular part of A is referenced

in
n

The order of the matrix A. n >= 0. When n = 0, zlanhe returns zero.

in
A

Double complex array, dimension (lda, n). The hermitian matrix A. Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero.

in
lda

The leading dimension of A. lda >= max(n, 1).

out
work

Double precision array, dimension (max(1, lwork)). where lwork >= n when norm = ‘I’ or ‘1’ or ‘O’; otherwise, work is not referenced.