ppcon#
Functions
-
void sppcon(const char *uplo, const INT n, const f32 *restrict AP, const f32 anorm, f32 *rcond, f32 *restrict work, INT *restrict iwork, INT *info)#
SPPCON estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric positive definite packed matrix using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPPTRF.
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 triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.inAPArray of dimension
n*(n+1)/2. The triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, packed columnwise in a linear array. The j-th column of U or L is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = U(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = L(i,j)forj<=i<=n-1.inanormThe 1-norm (or infinity-norm) of the symmetric matrix A.
outrcondThe reciprocal of the condition number of the matrix A, computed as
rcond=1/(anorm*ainvnm), whereainvnmis an estimate of the 1-norm of inv(A) computed in this routine.outworkArray of dimension
3*n.outiworkArray of dimension
n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void sppcon(
const char* uplo,
const INT n,
const f32* restrict AP,
const f32 anorm,
f32* rcond,
f32* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void dppcon(const char *uplo, const INT n, const f64 *restrict AP, const f64 anorm, f64 *rcond, f64 *restrict work, INT *restrict iwork, INT *info)#
DPPCON estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric positive definite packed matrix using the Cholesky factorization A = U**T*U or A = L*L**T computed by DPPTRF.
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 triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.inAPArray of dimension
n*(n+1)/2. The triangular factor U or L from the Cholesky factorization A = U**T*U or A = L*L**T, packed columnwise in a linear array. The j-th column of U or L is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = U(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = L(i,j)forj<=i<=n-1.inanormThe 1-norm (or infinity-norm) of the symmetric matrix A.
outrcondThe reciprocal of the condition number of the matrix A, computed as
rcond=1/(anorm*ainvnm), whereainvnmis an estimate of the 1-norm of inv(A) computed in this routine.outworkArray of dimension
3*n.outiworkArray of dimension
n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void dppcon(
const char* uplo,
const INT n,
const f64* restrict AP,
const f64 anorm,
f64* rcond,
f64* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void cppcon(const char *uplo, const INT n, const c64 *restrict AP, const f32 anorm, f32 *rcond, c64 *restrict work, f32 *restrict rwork, INT *info)#
CPPCON estimates the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite packed matrix using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPPTRF.
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 triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.inAPArray of dimension
n*(n+1)/2. The triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, packed columnwise in a linear array. The j-th column of U or L is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = U(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = L(i,j)forj<=i<=n-1.inanormThe 1-norm (or infinity-norm) of the Hermitian matrix A.
outrcondThe reciprocal of the condition number of the matrix A, computed as
rcond=1/(anorm*ainvnm), whereainvnmis an estimate of the 1-norm of inv(A) computed in this routine.outworkComplex array of dimension
2*n.outrworkArray of dimension
n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void cppcon(
const char* uplo,
const INT n,
const c64* restrict AP,
const f32 anorm,
f32* rcond,
c64* restrict work,
f32* restrict rwork,
INT* info
);
Functions
-
void zppcon(const char *uplo, const INT n, const c128 *restrict AP, const f64 anorm, f64 *rcond, c128 *restrict work, f64 *restrict rwork, INT *info)#
ZPPCON estimates the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite packed matrix using the Cholesky factorization A = U**H*U or A = L*L**H computed by ZPPTRF.
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 triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.inAPArray of dimension
n*(n+1)/2. The triangular factor U or L from the Cholesky factorization A = U**H*U or A = L*L**H, packed columnwise in a linear array. The j-th column of U or L is stored in the array AP as follows: ifuplo='U',AP[i + j*(j+1)/2] = U(i,j)for0<=i<=j; ifuplo='L',AP[i + j*(2*n-j-1)/2] = L(i,j)forj<=i<=n-1.inanormThe 1-norm (or infinity-norm) of the Hermitian matrix A.
outrcondThe reciprocal of the condition number of the matrix A, computed as
rcond=1/(anorm*ainvnm), whereainvnmis an estimate of the 1-norm of inv(A) computed in this routine.outworkComplex array of dimension
2*n.outrworkArray of dimension
n.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void zppcon(
const char* uplo,
const INT n,
const c128* restrict AP,
const f64 anorm,
f64* rcond,
c128* restrict work,
f64* restrict rwork,
INT* info
);