hecon#

Functions

void checon(
    const char*          uplo,
    const INT            n,
    const c64*  restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
    const f32            anorm,
          f32*           rcond,
          c64*  restrict work,
          INT*           info
);
void checon(const char *uplo, const INT n, const c64 *restrict A, const INT lda, const INT *restrict ipiv, const f32 anorm, f32 *rcond, c64 *restrict work, INT *info)#

CHECON estimates the reciprocal of the condition number (in the 1-norm) of a complex Hermitian matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by CHETRF.

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

Parameters

in
uplo

Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**H = ‘L’: Lower triangular, form is A = L*D*L**H

in
n

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

in
A

The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CHETRF. Complex*16 array, dimension (lda, n).

in
lda

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

in
ipiv

Details of the interchanges and the block structure of D as determined by CHETRF. Integer array, dimension (n).

in
anorm

The 1-norm of the original matrix A.

out
rcond

The reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.

out
work

Complex*16 array, dimension (2*n).

out
info

  • = 0: successful exit

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

Functions

void zhecon(
    const char*          uplo,
    const INT            n,
    const c128* restrict A,
    const INT            lda,
    const INT*  restrict ipiv,
    const f64            anorm,
          f64*           rcond,
          c128* restrict work,
          INT*           info
);
void zhecon(const char *uplo, const INT n, const c128 *restrict A, const INT lda, const INT *restrict ipiv, const f64 anorm, f64 *rcond, c128 *restrict work, INT *info)#

ZHECON estimates the reciprocal of the condition number (in the 1-norm) of a complex Hermitian matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by ZHETRF.

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

Parameters

in
uplo

Specifies whether the details of the factorization are stored as an upper or lower triangular matrix. = ‘U’: Upper triangular, form is A = U*D*U**H = ‘L’: Lower triangular, form is A = L*D*L**H

in
n

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

in
A

The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by ZHETRF. Complex*16 array, dimension (lda, n).

in
lda

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

in
ipiv

Details of the interchanges and the block structure of D as determined by ZHETRF. Integer array, dimension (n).

in
anorm

The 1-norm of the original matrix A.

out
rcond

The reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.

out
work

Complex*16 array, dimension (2*n).

out
info

  • = 0: successful exit

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