tpcon#

Functions

void stpcon(
    const char*          norm,
    const char*          uplo,
    const char*          diag,
    const INT            n,
    const f32*  restrict AP,
          f32*           rcond,
          f32*  restrict work,
          INT*  restrict iwork,
          INT*           info
);
void stpcon(const char *norm, const char *uplo, const char *diag, const INT n, const f32 *restrict AP, f32 *rcond, f32 *restrict work, INT *restrict iwork, INT *info)#

STPCON estimates the reciprocal of the condition number of a packed triangular matrix A, in either the 1-norm or the infinity-norm.

The norm of A is computed and an estimate is obtained for norm(inv(A)), then the reciprocal of the condition number is computed as RCOND = 1 / ( norm(A) * norm(inv(A)) ).

Parameters

in
norm

= ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm

in
uplo

= ‘U’: A is upper triangular = ‘L’: A is lower triangular

in
diag

= ‘N’: A is non-unit triangular = ‘U’: A is 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
rcond

The reciprocal condition number.

out
work

Workspace array of dimension (3*n).

out
iwork

Integer workspace array of dimension (n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value

Functions

void dtpcon(
    const char*          norm,
    const char*          uplo,
    const char*          diag,
    const INT            n,
    const f64*  restrict AP,
          f64*           rcond,
          f64*  restrict work,
          INT*  restrict iwork,
          INT*           info
);
void dtpcon(const char *norm, const char *uplo, const char *diag, const INT n, const f64 *restrict AP, f64 *rcond, f64 *restrict work, INT *restrict iwork, INT *info)#

DTPCON estimates the reciprocal of the condition number of a packed triangular matrix A, in either the 1-norm or the infinity-norm.

The norm of A is computed and an estimate is obtained for norm(inv(A)), then the reciprocal of the condition number is computed as RCOND = 1 / ( norm(A) * norm(inv(A)) ).

Parameters

in
norm

= ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm

in
uplo

= ‘U’: A is upper triangular = ‘L’: A is lower triangular

in
diag

= ‘N’: A is non-unit triangular = ‘U’: A is 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
rcond

The reciprocal condition number.

out
work

Workspace array of dimension (3*n).

out
iwork

Integer workspace array of dimension (n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value

Functions

void ctpcon(
    const char*          norm,
    const char*          uplo,
    const char*          diag,
    const INT            n,
    const c64*  restrict AP,
          f32*           rcond,
          c64*  restrict work,
          f32*  restrict rwork,
          INT*           info
);
void ctpcon(const char *norm, const char *uplo, const char *diag, const INT n, const c64 *restrict AP, f32 *rcond, c64 *restrict work, f32 *restrict rwork, INT *info)#

CTPCON estimates the reciprocal of the condition number of a packed triangular matrix A, in either the 1-norm or the infinity-norm.

The norm of A is computed and an estimate is obtained for norm(inv(A)), then the reciprocal of the condition number is computed as RCOND = 1 / ( norm(A) * norm(inv(A)) ).

Parameters

in
norm

= ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm

in
uplo

= ‘U’: A is upper triangular = ‘L’: A is lower triangular

in
diag

= ‘N’: A is non-unit triangular = ‘U’: A is 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
rcond

The reciprocal condition number.

out
work

Complex workspace array of dimension (2*n).

out
rwork

Real workspace array of dimension (n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value

Functions

void ztpcon(
    const char*          norm,
    const char*          uplo,
    const char*          diag,
    const INT            n,
    const c128* restrict AP,
          f64*           rcond,
          c128* restrict work,
          f64*  restrict rwork,
          INT*           info
);
void ztpcon(const char *norm, const char *uplo, const char *diag, const INT n, const c128 *restrict AP, f64 *rcond, c128 *restrict work, f64 *restrict rwork, INT *info)#

ZTPCON estimates the reciprocal of the condition number of a packed triangular matrix A, in either the 1-norm or the infinity-norm.

The norm of A is computed and an estimate is obtained for norm(inv(A)), then the reciprocal of the condition number is computed as RCOND = 1 / ( norm(A) * norm(inv(A)) ).

Parameters

in
norm

= ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm

in
uplo

= ‘U’: A is upper triangular = ‘L’: A is lower triangular

in
diag

= ‘N’: A is non-unit triangular = ‘U’: A is 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
rcond

The reciprocal condition number.

out
work

Complex workspace array of dimension (2*n).

out
rwork

Real workspace array of dimension (n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value