lansf#

Functions

f32 slansf(
    const char*          norm,
    const char*          transr,
    const char*          uplo,
    const INT            n,
    const f32*  restrict A,
          f32*  restrict work
);
f32 slansf(const char *norm, const char *transr, const char *uplo, const INT n, const f32 *restrict A, f32 *restrict work)#

SLANSF 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 matrix A in RFP format.

Parameters

in
norm

Specifies the value to be returned in SLANSF as described above. = ‘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
transr

= ‘N’: RFP format is Normal; = ‘T’: RFP format is Transpose.

in
uplo

= ‘U’: RFP A came from an upper triangular matrix; = ‘L’: RFP A came from a lower triangular matrix.

in
n

The order of the matrix A. n >= 0. When n = 0, SLANSF is set to zero.

in
A

Double precision array, dimension ( n*(n+1)/2 ); On entry, the upper (if UPLO = ‘U’) or lower (if UPLO = ‘L’) part of the symmetric matrix A stored in RFP format.

out
work

Double precision array, dimension (MAX(1,LWORK)), where LWORK >= n when NORM = ‘I’ or ‘1’ or ‘O’; otherwise, WORK is not referenced.

Functions

f64 dlansf(
    const char*          norm,
    const char*          transr,
    const char*          uplo,
    const INT            n,
    const f64*  restrict A,
          f64*  restrict work
);
f64 dlansf(const char *norm, const char *transr, const char *uplo, const INT n, const f64 *restrict A, f64 *restrict work)#

DLANSF 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 matrix A in RFP format.

Parameters

in
norm

Specifies the value to be returned in DLANSF as described above. = ‘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
transr

= ‘N’: RFP format is Normal; = ‘T’: RFP format is Transpose.

in
uplo

= ‘U’: RFP A came from an upper triangular matrix; = ‘L’: RFP A came from a lower triangular matrix.

in
n

The order of the matrix A. n >= 0. When n = 0, DLANSF is set to zero.

in
A

Double precision array, dimension ( n*(n+1)/2 ); On entry, the upper (if UPLO = ‘U’) or lower (if UPLO = ‘L’) part of the symmetric matrix A stored in RFP format.

out
work

Double precision array, dimension (MAX(1,LWORK)), where LWORK >= n when NORM = ‘I’ or ‘1’ or ‘O’; otherwise, WORK is not referenced.