lantp#

Functions

f32 slantp(
    const char*          norm,
    const char*          uplo,
    const char*          diag,
    const INT            n,
    const f32*  restrict AP,
          f32*  restrict work
);
f32 slantp(const char *norm, const char *uplo, const char *diag, const INT n, const f32 *restrict AP, f32 *restrict work)#

SLANTP returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a triangular matrix A, supplied in packed form.

Parameters

in
norm

= ‘M’: max(abs(A(i,j))) = ‘1’, ‘O’: norm1(A) (maximum column sum) = ‘I’: normI(A) (maximum row sum) = ‘F’, ‘E’: normF(A) (Frobenius norm)

in
uplo

= ‘U’: Upper triangular = ‘L’: Lower triangular

in
diag

= ‘N’: Non-unit triangular = ‘U’: Unit triangular

in
n

The order of the matrix A. n >= 0.

in
AP

The packed triangular matrix A. Array of dimension (n*(n+1)/2).

out
work

Workspace array of dimension (n) when norm = ‘I’.

Functions

f64 dlantp(
    const char*          norm,
    const char*          uplo,
    const char*          diag,
    const INT            n,
    const f64*  restrict AP,
          f64*  restrict work
);
f64 dlantp(const char *norm, const char *uplo, const char *diag, const INT n, const f64 *restrict AP, f64 *restrict work)#

DLANTP returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a triangular matrix A, supplied in packed form.

Parameters

in
norm

= ‘M’: max(abs(A(i,j))) = ‘1’, ‘O’: norm1(A) (maximum column sum) = ‘I’: normI(A) (maximum row sum) = ‘F’, ‘E’: normF(A) (Frobenius norm)

in
uplo

= ‘U’: Upper triangular = ‘L’: Lower triangular

in
diag

= ‘N’: Non-unit triangular = ‘U’: Unit triangular

in
n

The order of the matrix A. n >= 0.

in
AP

The packed triangular matrix A. Array of dimension (n*(n+1)/2).

out
work

Workspace array of dimension (n) when norm = ‘I’.

Functions

f32 clantp(
    const char*          norm,
    const char*          uplo,
    const char*          diag,
    const INT            n,
    const c64*  restrict AP,
          f32*  restrict work
);
f32 clantp(const char *norm, const char *uplo, const char *diag, const INT n, const c64 *restrict AP, f32 *restrict work)#

CLANTP returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a triangular matrix A, supplied in packed form.

Parameters

in
norm

= ‘M’: max(abs(A(i,j))) = ‘1’, ‘O’: norm1(A) (maximum column sum) = ‘I’: normI(A) (maximum row sum) = ‘F’, ‘E’: normF(A) (Frobenius norm)

in
uplo

= ‘U’: Upper triangular = ‘L’: Lower triangular

in
diag

= ‘N’: Non-unit triangular = ‘U’: Unit triangular

in
n

The order of the matrix A. n >= 0.

in
AP

The packed triangular matrix A. Array of dimension (n*(n+1)/2).

out
work

Workspace array of dimension (n) when norm = ‘I’.

Functions

f64 zlantp(
    const char*          norm,
    const char*          uplo,
    const char*          diag,
    const INT            n,
    const c128* restrict AP,
          f64*  restrict work
);
f64 zlantp(const char *norm, const char *uplo, const char *diag, const INT n, const c128 *restrict AP, f64 *restrict work)#

ZLANTP returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a triangular matrix A, supplied in packed form.

Parameters

in
norm

= ‘M’: max(abs(A(i,j))) = ‘1’, ‘O’: norm1(A) (maximum column sum) = ‘I’: normI(A) (maximum row sum) = ‘F’, ‘E’: normF(A) (Frobenius norm)

in
uplo

= ‘U’: Upper triangular = ‘L’: Lower triangular

in
diag

= ‘N’: Non-unit triangular = ‘U’: Unit triangular

in
n

The order of the matrix A. n >= 0.

in
AP

The packed triangular matrix A. Array of dimension (n*(n+1)/2).

out
work

Workspace array of dimension (n) when norm = ‘I’.