pprfs#
Functions
-
void spprfs(const char *uplo, const INT n, const INT nrhs, const f32 *restrict AP, const f32 *restrict AFP, const f32 *restrict B, const INT ldb, f32 *restrict X, const INT ldx, f32 *restrict ferr, f32 *restrict berr, f32 *restrict work, INT *restrict iwork, INT *info)#
SPPRFS improves the computed solution to a system of linear equations when the coefficient matrix is symmetric positive definite and packed, and provides error bounds and backward error estimates for the solution.
Parameters
inuplo'U': Upper triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.innrhsThe number of right hand sides.
nrhs>=0.inAPArray of dimension
n*(n+1)/2. The upper or lower triangle of the symmetric matrix A, packed columnwise in a linear array.inAFPArray 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, as computed byspptrf, packed columnwise.inBArray of dimension
(ldb,nrhs). The right hand side matrix B.inldbThe leading dimension of the array B.
ldb>=max(1,n).inoutXArray of dimension
(ldx,nrhs). On entry, the solution matrix X, as computed byspptrs. On exit, the improved solution matrix X.inldxThe leading dimension of the array X.
ldx>=max(1,n).outferrArray of dimension
nrhs. The estimated forward error bound for each solution vector X(j).outberrArray of dimension
nrhs. The componentwise relative backward error of each solution vector X(j).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 spprfs(
const char* uplo,
const INT n,
const INT nrhs,
const f32* restrict AP,
const f32* restrict AFP,
const f32* restrict B,
const INT ldb,
f32* restrict X,
const INT ldx,
f32* restrict ferr,
f32* restrict berr,
f32* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void dpprfs(const char *uplo, const INT n, const INT nrhs, const f64 *restrict AP, const f64 *restrict AFP, const f64 *restrict B, const INT ldb, f64 *restrict X, const INT ldx, f64 *restrict ferr, f64 *restrict berr, f64 *restrict work, INT *restrict iwork, INT *info)#
DPPRFS improves the computed solution to a system of linear equations when the coefficient matrix is symmetric positive definite and packed, and provides error bounds and backward error estimates for the solution.
Parameters
inuplo'U': Upper triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.innrhsThe number of right hand sides.
nrhs>=0.inAPArray of dimension
n*(n+1)/2. The upper or lower triangle of the symmetric matrix A, packed columnwise in a linear array.inAFPArray 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, as computed bydpptrf, packed columnwise.inBArray of dimension
(ldb,nrhs). The right hand side matrix B.inldbThe leading dimension of the array B.
ldb>=max(1,n).inoutXArray of dimension
(ldx,nrhs). On entry, the solution matrix X, as computed bydpptrs. On exit, the improved solution matrix X.inldxThe leading dimension of the array X.
ldx>=max(1,n).outferrArray of dimension
nrhs. The estimated forward error bound for each solution vector X(j).outberrArray of dimension
nrhs. The componentwise relative backward error of each solution vector X(j).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 dpprfs(
const char* uplo,
const INT n,
const INT nrhs,
const f64* restrict AP,
const f64* restrict AFP,
const f64* restrict B,
const INT ldb,
f64* restrict X,
const INT ldx,
f64* restrict ferr,
f64* restrict berr,
f64* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void cpprfs(const char *uplo, const INT n, const INT nrhs, const c64 *restrict AP, const c64 *restrict AFP, const c64 *restrict B, const INT ldb, c64 *restrict X, const INT ldx, f32 *restrict ferr, f32 *restrict berr, c64 *restrict work, f32 *restrict rwork, INT *info)#
CPPRFS improves the computed solution to a system of linear equations when the coefficient matrix is Hermitian positive definite and packed, and provides error bounds and backward error estimates for the solution.
Parameters
inuplo'U': Upper triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.innrhsThe number of right hand sides.
nrhs>=0.inAPArray of dimension
n*(n+1)/2. The upper or lower triangle of the Hermitian matrix A, packed columnwise in a linear array.inAFPArray 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, as computed bycpptrf, packed columnwise.inBArray of dimension
(ldb,nrhs). The right hand side matrix B.inldbThe leading dimension of the array B.
ldb>=max(1,n).inoutXArray of dimension
(ldx,nrhs). On entry, the solution matrix X, as computed bycpptrs. On exit, the improved solution matrix X.inldxThe leading dimension of the array X.
ldx>=max(1,n).outferrArray of dimension
nrhs. The estimated forward error bound for each solution vector X(j).outberrArray of dimension
nrhs. The componentwise relative backward error of each solution vector X(j).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 cpprfs(
const char* uplo,
const INT n,
const INT nrhs,
const c64* restrict AP,
const c64* restrict AFP,
const c64* restrict B,
const INT ldb,
c64* restrict X,
const INT ldx,
f32* restrict ferr,
f32* restrict berr,
c64* restrict work,
f32* restrict rwork,
INT* info
);
Functions
-
void zpprfs(const char *uplo, const INT n, const INT nrhs, const c128 *restrict AP, const c128 *restrict AFP, const c128 *restrict B, const INT ldb, c128 *restrict X, const INT ldx, f64 *restrict ferr, f64 *restrict berr, c128 *restrict work, f64 *restrict rwork, INT *info)#
ZPPRFS improves the computed solution to a system of linear equations when the coefficient matrix is Hermitian positive definite and packed, and provides error bounds and backward error estimates for the solution.
Parameters
inuplo'U': Upper triangle of A is stored'L': Lower triangle of A is stored
innThe order of the matrix A.
n>=0.innrhsThe number of right hand sides.
nrhs>=0.inAPArray of dimension
n*(n+1)/2. The upper or lower triangle of the Hermitian matrix A, packed columnwise in a linear array.inAFPArray 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, as computed byzpptrf, packed columnwise.inBArray of dimension
(ldb,nrhs). The right hand side matrix B.inldbThe leading dimension of the array B.
ldb>=max(1,n).inoutXArray of dimension
(ldx,nrhs). On entry, the solution matrix X, as computed byzpptrs. On exit, the improved solution matrix X.inldxThe leading dimension of the array X.
ldx>=max(1,n).outferrArray of dimension
nrhs. The estimated forward error bound for each solution vector X(j).outberrArray of dimension
nrhs. The componentwise relative backward error of each solution vector X(j).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 zpprfs(
const char* uplo,
const INT n,
const INT nrhs,
const c128* restrict AP,
const c128* restrict AFP,
const c128* restrict B,
const INT ldb,
c128* restrict X,
const INT ldx,
f64* restrict ferr,
f64* restrict berr,
c128* restrict work,
f64* restrict rwork,
INT* info
);