lansy#

Functions

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

SLANSY 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.

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 symmetric.

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, slansy returns zero.

in
A

Double precision array, dimension (lda, n). The symmetric matrix A.

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.

Functions

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

DLANSY 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.

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 symmetric.

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, dlansy returns zero.

in
A

Double precision array, dimension (lda, n). The symmetric matrix A.

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.

Functions

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

CLANSY 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 symmetric 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 symmetric.

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, clansy returns zero.

in
A

Single complex array, dimension (lda, n). The symmetric matrix A.

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 zlansy(
    const char*          norm,
    const char*          uplo,
    const INT            n,
    const c128* restrict A,
    const INT            lda,
          f64*  restrict work
);
f64 zlansy(const char *norm, const char *uplo, const INT n, const c128 *restrict A, const INT lda, f64 *restrict work)#

ZLANSY 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 symmetric 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 symmetric.

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, zlansy returns zero.

in
A

Double complex array, dimension (lda, n). The symmetric matrix A.

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.