lantr#
Functions
-
f32 slantr(const char *norm, const char *uplo, const char *diag, const INT m, const INT n, const f32 *restrict A, const INT lda, f32 *restrict work)#
SLANTR returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a trapezoidal or triangular 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)
inuploSpecifies whether the matrix A is upper or lower trapezoidal. = ‘U’: Upper trapezoidal = ‘L’: Lower trapezoidal Note that A is triangular instead of trapezoidal if m = n.
indiagSpecifies whether or not the matrix A has unit diagonal. = ‘N’: Non-unit diagonal = ‘U’: Unit diagonal
inmThe number of rows of the matrix A. m >= 0. When m = 0, slantr returns zero.
innThe number of columns of the matrix A. n >= 0. When n = 0, slantr returns zero.
inAThe trapezoidal matrix A (A is triangular if m = n). Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(m, 1).
outworkWorkspace array of dimension max(1, lwork), where lwork >= m when norm = ‘I’; otherwise, work is not referenced.
f32 slantr(
const char* norm,
const char* uplo,
const char* diag,
const INT m,
const INT n,
const f32* restrict A,
const INT lda,
f32* restrict work
);
Functions
-
f64 dlantr(const char *norm, const char *uplo, const char *diag, const INT m, const INT n, const f64 *restrict A, const INT lda, f64 *restrict work)#
DLANTR returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a trapezoidal or triangular 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)
inuploSpecifies whether the matrix A is upper or lower trapezoidal. = ‘U’: Upper trapezoidal = ‘L’: Lower trapezoidal Note that A is triangular instead of trapezoidal if m = n.
indiagSpecifies whether or not the matrix A has unit diagonal. = ‘N’: Non-unit diagonal = ‘U’: Unit diagonal
inmThe number of rows of the matrix A. m >= 0. When m = 0, dlantr returns zero.
innThe number of columns of the matrix A. n >= 0. When n = 0, dlantr returns zero.
inAThe trapezoidal matrix A (A is triangular if m = n). Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(m, 1).
outworkWorkspace array of dimension max(1, lwork), where lwork >= m when norm = ‘I’; otherwise, work is not referenced.
f64 dlantr(
const char* norm,
const char* uplo,
const char* diag,
const INT m,
const INT n,
const f64* restrict A,
const INT lda,
f64* restrict work
);
Functions
-
f32 clantr(const char *norm, const char *uplo, const char *diag, const INT m, const INT n, const c64 *restrict A, const INT lda, f32 *restrict work)#
CLANTR returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a trapezoidal or triangular 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)
inuploSpecifies whether the matrix A is upper or lower trapezoidal. = ‘U’: Upper trapezoidal = ‘L’: Lower trapezoidal Note that A is triangular instead of trapezoidal if m = n.
indiagSpecifies whether or not the matrix A has unit diagonal. = ‘N’: Non-unit diagonal = ‘U’: Unit diagonal
inmThe number of rows of the matrix A. m >= 0. When m = 0, clantr returns zero.
innThe number of columns of the matrix A. n >= 0. When n = 0, clantr returns zero.
inAThe trapezoidal matrix A (A is triangular if m = n). Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(m, 1).
outworkWorkspace array of dimension max(1, lwork), where lwork >= m when norm = ‘I’; otherwise, work is not referenced.
f32 clantr(
const char* norm,
const char* uplo,
const char* diag,
const INT m,
const INT n,
const c64* restrict A,
const INT lda,
f32* restrict work
);
Functions
-
f64 zlantr(const char *norm, const char *uplo, const char *diag, const INT m, const INT n, const c128 *restrict A, const INT lda, f64 *restrict work)#
ZLANTR returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a trapezoidal or triangular 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)
inuploSpecifies whether the matrix A is upper or lower trapezoidal. = ‘U’: Upper trapezoidal = ‘L’: Lower trapezoidal Note that A is triangular instead of trapezoidal if m = n.
indiagSpecifies whether or not the matrix A has unit diagonal. = ‘N’: Non-unit diagonal = ‘U’: Unit diagonal
inmThe number of rows of the matrix A. m >= 0. When m = 0, zlantr returns zero.
innThe number of columns of the matrix A. n >= 0. When n = 0, zlantr returns zero.
inAThe trapezoidal matrix A (A is triangular if m = n). Array of dimension (lda, n).
inldaThe leading dimension of the array A. lda >= max(m, 1).
outworkWorkspace array of dimension max(1, lwork), where lwork >= m when norm = ‘I’; otherwise, work is not referenced.
f64 zlantr(
const char* norm,
const char* uplo,
const char* diag,
const INT m,
const INT n,
const c128* restrict A,
const INT lda,
f64* restrict work
);