hprfs#
Functions
-
void chprfs(const char *uplo, const INT n, const INT nrhs, const c64 *restrict AP, const c64 *restrict AFP, const INT *restrict ipiv, 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)#
CHPRFS improves the computed solution to a system of linear equations when the coefficient matrix is Hermitian indefinite 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.
inAPThe original packed Hermitian matrix A. Array of dimension (n*(n+1)/2).
inAFPThe factored form of A from CHPTRF. Array of dimension (n*(n+1)/2).
inipivThe pivot indices from CHPTRF. Array of dimension (n).
inBThe right hand side matrix B. Array of dimension (ldb, nrhs).
inldbThe leading dimension of B. ldb >= max(1,n).
inoutXOn entry, the solution matrix X. On exit, the improved solution. Array of dimension (ldx, nrhs).
inldxThe leading dimension of X. ldx >= max(1,n).
outferrThe forward error bound for each solution vector. Array of dimension (nrhs).
outberrThe backward error for each solution vector. Array of dimension (nrhs).
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 chprfs(
const char* uplo,
const INT n,
const INT nrhs,
const c64* restrict AP,
const c64* restrict AFP,
const INT* restrict ipiv,
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 zhprfs(const char *uplo, const INT n, const INT nrhs, const c128 *restrict AP, const c128 *restrict AFP, const INT *restrict ipiv, 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)#
ZHPRFS improves the computed solution to a system of linear equations when the coefficient matrix is Hermitian indefinite 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.
inAPThe original packed Hermitian matrix A. Array of dimension (n*(n+1)/2).
inAFPThe factored form of A from ZHPTRF. Array of dimension (n*(n+1)/2).
inipivThe pivot indices from ZHPTRF. Array of dimension (n).
inBThe right hand side matrix B. Array of dimension (ldb, nrhs).
inldbThe leading dimension of B. ldb >= max(1,n).
inoutXOn entry, the solution matrix X. On exit, the improved solution. Array of dimension (ldx, nrhs).
inldxThe leading dimension of X. ldx >= max(1,n).
outferrThe forward error bound for each solution vector. Array of dimension (nrhs).
outberrThe backward error for each solution vector. Array of dimension (nrhs).
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 zhprfs(
const char* uplo,
const INT n,
const INT nrhs,
const c128* restrict AP,
const c128* restrict AFP,
const INT* restrict ipiv,
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
);