lantb#
Functions
-
f32 slantb(const char *norm, const char *uplo, const char *diag, const INT n, const INT k, const f32 *restrict AB, const INT ldab, f32 *restrict work)#
SLANTB returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of an n by n triangular band matrix A, with (k + 1) diagonals.
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)
inuploSpecifies whether the matrix A is upper or lower triangular. = ‘U’: Upper triangular = ‘L’: Lower triangular
indiagSpecifies whether or not the matrix A is unit triangular. = ‘N’: Non-unit triangular = ‘U’: Unit triangular
innThe order of the matrix A. n >= 0. When n = 0, slantb returns zero.
inkThe number of super-diagonals of the matrix A if uplo = “U”, or the number of sub-diagonals of the matrix A if uplo = ‘L’. k >= 0.
inABDouble precision array, dimension (ldab, n). The upper or lower triangular band matrix A, stored in the first k+1 rows of AB. The j-th column of A is stored in the j-th column of the array AB as follows: if uplo = “U”, AB[k+i-j + j*ldab] = A(i,j) for max(0,j-k) <= i <= j; if uplo = “L”, AB[i-j + j*ldab] = A(i,j) for j <= i <= min(n-1,j+k). Note that when diag = “U”, the elements of the array AB corresponding to the diagonal elements of the matrix A are not referenced, but are assumed to be one.
inldabThe leading dimension of the array AB. ldab >= k+1.
outworkDouble precision array, dimension (max(1, lwork)). where lwork >= n when norm = ‘I’; otherwise, work is not referenced.
f32 slantb(
const char* norm,
const char* uplo,
const char* diag,
const INT n,
const INT k,
const f32* restrict AB,
const INT ldab,
f32* restrict work
);
Functions
-
f64 dlantb(const char *norm, const char *uplo, const char *diag, const INT n, const INT k, const f64 *restrict AB, const INT ldab, f64 *restrict work)#
DLANTB returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of an n by n triangular band matrix A, with (k + 1) diagonals.
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)
inuploSpecifies whether the matrix A is upper or lower triangular. = ‘U’: Upper triangular = ‘L’: Lower triangular
indiagSpecifies whether or not the matrix A is unit triangular. = ‘N’: Non-unit triangular = ‘U’: Unit triangular
innThe order of the matrix A. n >= 0. When n = 0, dlantb returns zero.
inkThe number of super-diagonals of the matrix A if uplo = “U”, or the number of sub-diagonals of the matrix A if uplo = ‘L’. k >= 0.
inABDouble precision array, dimension (ldab, n). The upper or lower triangular band matrix A, stored in the first k+1 rows of AB. The j-th column of A is stored in the j-th column of the array AB as follows: if uplo = “U”, AB[k+i-j + j*ldab] = A(i,j) for max(0,j-k) <= i <= j; if uplo = “L”, AB[i-j + j*ldab] = A(i,j) for j <= i <= min(n-1,j+k). Note that when diag = “U”, the elements of the array AB corresponding to the diagonal elements of the matrix A are not referenced, but are assumed to be one.
inldabThe leading dimension of the array AB. ldab >= k+1.
outworkDouble precision array, dimension (max(1, lwork)). where lwork >= n when norm = ‘I’; otherwise, work is not referenced.
f64 dlantb(
const char* norm,
const char* uplo,
const char* diag,
const INT n,
const INT k,
const f64* restrict AB,
const INT ldab,
f64* restrict work
);
Functions
-
f32 clantb(const char *norm, const char *uplo, const char *diag, const INT n, const INT k, const c64 *restrict AB, const INT ldab, f32 *restrict work)#
CLANTB returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of an n by n triangular band matrix A, with (k + 1) diagonals.
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)
inuploSpecifies whether the matrix A is upper or lower triangular. = ‘U’: Upper triangular = ‘L’: Lower triangular
indiagSpecifies whether or not the matrix A is unit triangular. = ‘N’: Non-unit triangular = ‘U’: Unit triangular
innThe order of the matrix A. n >= 0. When n = 0, clantb returns zero.
inkThe number of super-diagonals of the matrix A if uplo = “U”, or the number of sub-diagonals of the matrix A if uplo = ‘L’. k >= 0.
inABSingle complex array, dimension (ldab, n). The upper or lower triangular band matrix A, stored in the first k+1 rows of AB. The j-th column of A is stored in the j-th column of the array AB as follows: if uplo = “U”, AB[k+i-j + j*ldab] = A(i,j) for max(0,j-k) <= i <= j; if uplo = “L”, AB[i-j + j*ldab] = A(i,j) for j <= i <= min(n-1,j+k). Note that when diag = “U”, the elements of the array AB corresponding to the diagonal elements of the matrix A are not referenced, but are assumed to be one.
inldabThe leading dimension of the array AB. ldab >= k+1.
outworkSingle precision array, dimension (max(1, lwork)). where lwork >= n when norm = ‘I’; otherwise, work is not referenced.
f32 clantb(
const char* norm,
const char* uplo,
const char* diag,
const INT n,
const INT k,
const c64* restrict AB,
const INT ldab,
f32* restrict work
);
Functions
-
f64 zlantb(const char *norm, const char *uplo, const char *diag, const INT n, const INT k, const c128 *restrict AB, const INT ldab, f64 *restrict work)#
ZLANTB returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of an n by n triangular band matrix A, with (k + 1) diagonals.
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)
inuploSpecifies whether the matrix A is upper or lower triangular. = ‘U’: Upper triangular = ‘L’: Lower triangular
indiagSpecifies whether or not the matrix A is unit triangular. = ‘N’: Non-unit triangular = ‘U’: Unit triangular
innThe order of the matrix A. n >= 0. When n = 0, zlantb returns zero.
inkThe number of super-diagonals of the matrix A if uplo = “U”, or the number of sub-diagonals of the matrix A if uplo = ‘L’. k >= 0.
inABDouble complex array, dimension (ldab, n). The upper or lower triangular band matrix A, stored in the first k+1 rows of AB. The j-th column of A is stored in the j-th column of the array AB as follows: if uplo = “U”, AB[k+i-j + j*ldab] = A(i,j) for max(0,j-k) <= i <= j; if uplo = “L”, AB[i-j + j*ldab] = A(i,j) for j <= i <= min(n-1,j+k). Note that when diag = “U”, the elements of the array AB corresponding to the diagonal elements of the matrix A are not referenced, but are assumed to be one.
inldabThe leading dimension of the array AB. ldab >= k+1.
outworkDouble precision array, dimension (max(1, lwork)). where lwork >= n when norm = ‘I’; otherwise, work is not referenced.
f64 zlantb(
const char* norm,
const char* uplo,
const char* diag,
const INT n,
const INT k,
const c128* restrict AB,
const INT ldab,
f64* restrict work
);