hpcon#
Functions
-
void chpcon(const char *uplo, const INT n, const c64 *restrict AP, const INT *restrict ipiv, const f32 anorm, f32 *rcond, c64 *restrict work, INT *info)#
CHPCON estimates the reciprocal of the condition number (in the 1-norm) of a complex Hermitian packed matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by
chptrf.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
inuplo'U': Upper triangular, form is A = U*D*U**H'L': Lower triangular, form is A = L*D*L**H
innThe order of the matrix A.
n>=0.inAPArray of dimension
n*(n+1)/2. The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed bychptrf, stored as a packed triangular matrix.inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined bychptrf.inanormThe 1-norm of the original matrix A.
outrcondThe reciprocal of the condition number of the matrix A.
outworkWorkspace array of dimension
2*n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void chpcon(
const char* uplo,
const INT n,
const c64* restrict AP,
const INT* restrict ipiv,
const f32 anorm,
f32* rcond,
c64* restrict work,
INT* info
);
Functions
-
void zhpcon(const char *uplo, const INT n, const c128 *restrict AP, const INT *restrict ipiv, const f64 anorm, f64 *rcond, c128 *restrict work, INT *info)#
ZHPCON estimates the reciprocal of the condition number (in the 1-norm) of a complex Hermitian packed matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by
zhptrf.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
inuplo'U': Upper triangular, form is A = U*D*U**H'L': Lower triangular, form is A = L*D*L**H
innThe order of the matrix A.
n>=0.inAPArray of dimension
n*(n+1)/2. The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed byzhptrf, stored as a packed triangular matrix.inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined byzhptrf.inanormThe 1-norm of the original matrix A.
outrcondThe reciprocal of the condition number of the matrix A.
outworkWorkspace array of dimension
2*n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void zhpcon(
const char* uplo,
const INT n,
const c128* restrict AP,
const INT* restrict ipiv,
const f64 anorm,
f64* rcond,
c128* restrict work,
INT* info
);