lange#

Functions

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

SLANGE 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 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
m

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

in
n

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

in
A

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

in
lda

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

out
work

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

Functions

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

DLANGE 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 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
m

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

in
n

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

in
A

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

in
lda

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

out
work

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

Functions

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

CLANGE 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 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
m

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

in
n

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

in
A

Complex*16 array, dimension (lda, n). The m by n matrix A.

in
lda

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

out
work

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

Functions

f64 zlange(
    const char*          norm,
    const INT            m,
    const INT            n,
    const c128* restrict A,
    const INT            lda,
          f64*  restrict work
);
f64 zlange(const char *norm, const INT m, const INT n, const c128 *restrict A, const INT lda, f64 *restrict work)#

ZLANGE 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 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
m

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

in
n

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

in
A

Complex*16 array, dimension (lda, n). The m by n matrix A.

in
lda

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

out
work

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