lanhs#

Functions

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

SLANHS returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a Hessenberg 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)

in
n

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

in
A

Double precision array, dimension (lda, n). The n by n upper Hessenberg matrix A; the part of A below the first sub-diagonal is not referenced.

in
lda

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

out
work

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

Functions

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

DLANHS returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a Hessenberg 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)

in
n

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

in
A

Double precision array, dimension (lda, n). The n by n upper Hessenberg matrix A; the part of A below the first sub-diagonal is not referenced.

in
lda

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

out
work

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

Functions

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

CLANHS returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a Hessenberg 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)

in
n

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

in
A

Single complex array, dimension (lda, n). The n by n upper Hessenberg matrix A; the part of A below the first sub-diagonal is not referenced.

in
lda

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

out
work

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

Functions

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

ZLANHS returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a Hessenberg 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)

in
n

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

in
A

Double complex array, dimension (lda, n). The n by n upper Hessenberg matrix A; the part of A below the first sub-diagonal is not referenced.

in
lda

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

out
work

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