spcon#
Functions
-
void sspcon(const char *uplo, const INT n, const f32 *restrict AP, const INT *restrict ipiv, const f32 anorm, f32 *rcond, f32 *restrict work, INT *restrict iwork, INT *info)#
SSPCON estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric packed matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by SSPTRF.
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**T'L': Lower triangular, form is A = L*D*L**T
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 byssptrf, stored as a packed triangular matrix.inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined byssptrf.inanormThe 1-norm of the original matrix A.
outrcondThe reciprocal of the condition number of the matrix A.
outworkWorkspace array of dimension
2*n.outiworkInteger workspace array of dimension
n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void sspcon(
const char* uplo,
const INT n,
const f32* restrict AP,
const INT* restrict ipiv,
const f32 anorm,
f32* rcond,
f32* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void dspcon(const char *uplo, const INT n, const f64 *restrict AP, const INT *restrict ipiv, const f64 anorm, f64 *rcond, f64 *restrict work, INT *restrict iwork, INT *info)#
DSPCON estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric packed matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by DSPTRF.
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**T'L': Lower triangular, form is A = L*D*L**T
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 bydsptrf, stored as a packed triangular matrix.inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined bydsptrf.inanormThe 1-norm of the original matrix A.
outrcondThe reciprocal of the condition number of the matrix A.
outworkWorkspace array of dimension
2*n.outiworkInteger workspace array of dimension
n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void dspcon(
const char* uplo,
const INT n,
const f64* restrict AP,
const INT* restrict ipiv,
const f64 anorm,
f64* rcond,
f64* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void cspcon(const char *uplo, const INT n, const c64 *restrict AP, const INT *restrict ipiv, const f32 anorm, f32 *rcond, c64 *restrict work, INT *info)#
CSPCON estimates the reciprocal of the condition number (in the 1-norm) of a complex symmetric packed matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by CSPTRF.
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**T'L': Lower triangular, form is A = L*D*L**T
innThe order of the matrix A.
n>=0.inAPComplex array of dimension
n*(n+1)/2. The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed bycsptrf, stored as a packed triangular matrix.inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined bycsptrf.inanormThe 1-norm of the original matrix A.
outrcondThe reciprocal of the condition number of the matrix A.
outworkComplex workspace array of dimension
2*n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void cspcon(
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 zspcon(const char *uplo, const INT n, const c128 *restrict AP, const INT *restrict ipiv, const f64 anorm, f64 *rcond, c128 *restrict work, INT *info)#
ZSPCON estimates the reciprocal of the condition number (in the 1-norm) of a complex symmetric packed matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by ZSPTRF.
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**T'L': Lower triangular, form is A = L*D*L**T
innThe order of the matrix A.
n>=0.inAPComplex array of dimension
n*(n+1)/2. The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed byzsptrf, stored as a packed triangular matrix.inipivArray of dimension
n. Details of the interchanges and the block structure of D as determined byzsptrf.inanormThe 1-norm of the original matrix A.
outrcondThe reciprocal of the condition number of the matrix A.
outworkComplex workspace array of dimension
2*n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void zspcon(
const char* uplo,
const INT n,
const c128* restrict AP,
const INT* restrict ipiv,
const f64 anorm,
f64* rcond,
c128* restrict work,
INT* info
);