lanst#

Functions

f32 slanst(
    const char*          norm,
    const INT            n,
    const f32*  restrict D,
    const f32*  restrict E
);
f32 slanst(const char *norm, const INT n, const f32 *restrict D, const f32 *restrict E)#

SLANST returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real symmetric tridiagonal 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) = ‘I’ or ‘i’: normI(A) = ‘F’, ‘f’, ‘E’ or ‘e’: normF(A)

in
n

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

in
D

Double precision array, dimension (n). The diagonal elements of A.

in
E

Double precision array, dimension (n-1). The (n-1) sub-diagonal or super-diagonal elements of A.

Functions

f64 dlanst(
    const char*          norm,
    const INT            n,
    const f64*  restrict D,
    const f64*  restrict E
);
f64 dlanst(const char *norm, const INT n, const f64 *restrict D, const f64 *restrict E)#

DLANST returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real symmetric tridiagonal 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) = ‘I’ or ‘i’: normI(A) = ‘F’, ‘f’, ‘E’ or ‘e’: normF(A)

in
n

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

in
D

Double precision array, dimension (n). The diagonal elements of A.

in
E

Double precision array, dimension (n-1). The (n-1) sub-diagonal or super-diagonal elements of A.