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
);
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

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)

in
uplo

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

in
diag

Specifies whether or not the matrix A has unit diagonal. = ‘N’: Non-unit diagonal = ‘U’: Unit diagonal

in
m

The number of rows of the matrix A. m >= 0. When m = 0, slantr returns zero.

in
n

The number of columns of the matrix A. n >= 0. When n = 0, slantr returns zero.

in
A

The trapezoidal matrix A (A is triangular if m = n). Array of dimension (lda, n).

in
lda

The leading dimension of the array A. lda >= max(m, 1).

out
work

Workspace array of dimension max(1, lwork), where lwork >= m when norm = ‘I’; otherwise, work is not referenced.

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
);
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

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)

in
uplo

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

in
diag

Specifies whether or not the matrix A has unit diagonal. = ‘N’: Non-unit diagonal = ‘U’: Unit diagonal

in
m

The number of rows of the matrix A. m >= 0. When m = 0, dlantr returns zero.

in
n

The number of columns of the matrix A. n >= 0. When n = 0, dlantr returns zero.

in
A

The trapezoidal matrix A (A is triangular if m = n). Array of dimension (lda, n).

in
lda

The leading dimension of the array A. lda >= max(m, 1).

out
work

Workspace array of dimension max(1, lwork), where lwork >= m when norm = ‘I’; otherwise, work is not referenced.

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
);
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

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)

in
uplo

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

in
diag

Specifies whether or not the matrix A has unit diagonal. = ‘N’: Non-unit diagonal = ‘U’: Unit diagonal

in
m

The number of rows of the matrix A. m >= 0. When m = 0, clantr returns zero.

in
n

The number of columns of the matrix A. n >= 0. When n = 0, clantr returns zero.

in
A

The trapezoidal matrix A (A is triangular if m = n). Array of dimension (lda, n).

in
lda

The leading dimension of the array A. lda >= max(m, 1).

out
work

Workspace array of dimension max(1, lwork), where lwork >= m when norm = ‘I’; otherwise, work is not referenced.

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
);
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

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)

in
uplo

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

in
diag

Specifies whether or not the matrix A has unit diagonal. = ‘N’: Non-unit diagonal = ‘U’: Unit diagonal

in
m

The number of rows of the matrix A. m >= 0. When m = 0, zlantr returns zero.

in
n

The number of columns of the matrix A. n >= 0. When n = 0, zlantr returns zero.

in
A

The trapezoidal matrix A (A is triangular if m = n). Array of dimension (lda, n).

in
lda

The leading dimension of the array A. lda >= max(m, 1).

out
work

Workspace array of dimension max(1, lwork), where lwork >= m when norm = ‘I’; otherwise, work is not referenced.