lanhb#

Functions

f32 clanhb(
    const char*          norm,
    const char*          uplo,
    const INT            n,
    const INT            k,
    const c64*  restrict AB,
    const INT            ldab,
          f32*  restrict work
);
f32 clanhb(const char *norm, const char *uplo, const INT n, const INT k, const c64 *restrict AB, const INT ldab, f32 *restrict work)#

CLANHB returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of an n by n hermitian band matrix A, with k super-diagonals.

Parameters

in
norm

= ‘M’: max(abs(A(i,j))) = ‘1’, ‘O’: norm1(A) (maximum column sum) = ‘I’: normI(A) (maximum row sum) = ‘F’, ‘E’: normF(A) (Frobenius norm)

in
uplo

= ‘U’: Upper triangular part is supplied = ‘L’: Lower triangular part is supplied

in
n

The order of the matrix A. n >= 0.

in
k

The number of super/sub-diagonals. k >= 0.

in
AB

The banded matrix A. Array of dimension (ldab, n).

in
ldab

The leading dimension of AB. ldab >= k+1.

out
work

Workspace array of dimension (n) when norm = ‘I’ or ‘1’ or ‘O’.

Functions

f64 zlanhb(
    const char*          norm,
    const char*          uplo,
    const INT            n,
    const INT            k,
    const c128* restrict AB,
    const INT            ldab,
          f64*  restrict work
);
f64 zlanhb(const char *norm, const char *uplo, const INT n, const INT k, const c128 *restrict AB, const INT ldab, f64 *restrict work)#

ZLANHB returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of an n by n hermitian band matrix A, with k super-diagonals.

Parameters

in
norm

= ‘M’: max(abs(A(i,j))) = ‘1’, ‘O’: norm1(A) (maximum column sum) = ‘I’: normI(A) (maximum row sum) = ‘F’, ‘E’: normF(A) (Frobenius norm)

in
uplo

= ‘U’: Upper triangular part is supplied = ‘L’: Lower triangular part is supplied

in
n

The order of the matrix A. n >= 0.

in
k

The number of super/sub-diagonals. k >= 0.

in
AB

The banded matrix A. Array of dimension (ldab, n).

in
ldab

The leading dimension of AB. ldab >= k+1.

out
work

Workspace array of dimension (n) when norm = ‘I’ or ‘1’ or ‘O’.