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)#
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
innorm= ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm
inuplo= ‘U’: A is upper triangular = ‘L’: A is lower triangular
indiag= ‘N’: A is non-unit triangular = ‘U’: A is unit triangular
innThe order of the matrix A. n >= 0.
inAPThe packed triangular matrix A. Array of dimension (n*(n+1)/2).
outrcondThe reciprocal condition number.
outworkWorkspace array of dimension (3*n).
outiworkInteger workspace array of dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
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
);
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)#
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
innorm= ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm
inuplo= ‘U’: A is upper triangular = ‘L’: A is lower triangular
indiag= ‘N’: A is non-unit triangular = ‘U’: A is unit triangular
innThe order of the matrix A. n >= 0.
inAPThe packed triangular matrix A. Array of dimension (n*(n+1)/2).
outrcondThe reciprocal condition number.
outworkWorkspace array of dimension (3*n).
outiworkInteger workspace array of dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
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
);
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)#
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
innorm= ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm
inuplo= ‘U’: A is upper triangular = ‘L’: A is lower triangular
indiag= ‘N’: A is non-unit triangular = ‘U’: A is unit triangular
innThe order of the matrix A. n >= 0.
inAPThe packed triangular matrix A. Array of dimension (n*(n+1)/2).
outrcondThe reciprocal condition number.
outworkComplex workspace array of dimension (2*n).
outrworkReal workspace array of dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
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
);
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)#
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
innorm= ‘1’ or ‘O’: 1-norm = ‘I’: Infinity-norm
inuplo= ‘U’: A is upper triangular = ‘L’: A is lower triangular
indiag= ‘N’: A is non-unit triangular = ‘U’: A is unit triangular
innThe order of the matrix A. n >= 0.
inAPThe packed triangular matrix A. Array of dimension (n*(n+1)/2).
outrcondThe reciprocal condition number.
outworkComplex workspace array of dimension (2*n).
outrworkReal workspace array of dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
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
);