lansy#
Functions
-
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
innormSpecifies 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.
inuploSpecifies 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
innThe order of the matrix A. n >= 0. When n = 0, slansy returns zero.
inADouble precision array, dimension (lda, n). The symmetric matrix A.
inldaThe leading dimension of A. lda >= max(n, 1).
outworkDouble precision array, dimension (max(1, lwork)). where lwork >= n when norm = ‘I’ or ‘1’ or ‘O’; otherwise, work is not referenced.
f32 slansy(
const char* norm,
const char* uplo,
const INT n,
const f32* restrict A,
const INT lda,
f32* restrict work
);
Functions
-
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
innormSpecifies 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.
inuploSpecifies 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
innThe order of the matrix A. n >= 0. When n = 0, dlansy returns zero.
inADouble precision array, dimension (lda, n). The symmetric matrix A.
inldaThe leading dimension of A. lda >= max(n, 1).
outworkDouble precision array, dimension (max(1, lwork)). where lwork >= n when norm = ‘I’ or ‘1’ or ‘O’; otherwise, work is not referenced.
f64 dlansy(
const char* norm,
const char* uplo,
const INT n,
const f64* restrict A,
const INT lda,
f64* restrict work
);
Functions
-
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
innormSpecifies 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.
inuploSpecifies 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
innThe order of the matrix A. n >= 0. When n = 0, clansy returns zero.
inASingle complex array, dimension (lda, n). The symmetric matrix A.
inldaThe leading dimension of A. lda >= max(n, 1).
outworkSingle precision array, dimension (max(1, lwork)). where lwork >= n when norm = ‘I’ or ‘1’ or ‘O’; otherwise, work is not referenced.
f32 clansy(
const char* norm,
const char* uplo,
const INT n,
const c64* restrict A,
const INT lda,
f32* restrict work
);
Functions
-
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
innormSpecifies 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.
inuploSpecifies 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
innThe order of the matrix A. n >= 0. When n = 0, zlansy returns zero.
inADouble complex array, dimension (lda, n). The symmetric matrix A.
inldaThe leading dimension of A. lda >= max(n, 1).
outworkDouble precision array, dimension (max(1, lwork)). where lwork >= n when norm = ‘I’ or ‘1’ or ‘O’; otherwise, work is not referenced.
f64 zlansy(
const char* norm,
const char* uplo,
const INT n,
const c128* restrict A,
const INT lda,
f64* restrict work
);