gerfs#
Functions
-
void sgerfs(const char *trans, const INT n, const INT nrhs, const f32 *restrict A, const INT lda, const f32 *restrict AF, const INT ldaf, const INT *restrict ipiv, 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)#
SGERFS improves the computed solution to a system of linear equations and provides error bounds and backward error estimates for the solution.
Parameters
intransSpecifies the form of the system of equations:
’N’: A * X = B (No transpose)
’T’: A**T * X = B (Transpose)
’C’: A**H * X = B (Conjugate transpose = Transpose)
innThe order of the matrix
A.n>=0.innrhsThe number of right hand sides.
nrhs>=0.inAArray of dimension (
lda,n). The originaln-by-nmatrixA.inldaThe leading dimension of the array
A.lda>=max(1,n).inAFArray of dimension (
ldaf,n). The factors L and U from the factorization A = P*L*U as computed by sgetrf.inldafThe leading dimension of the array
AF.ldaf>=max(1,n).inipivArray of dimension
n. The pivot indices from sgetrf.inBArray of dimension (
ldb,nrhs). The right hand side matrixB.inldbThe leading dimension of the array
B.ldb>=max(1,n).inoutXArray of dimension (
ldx,nrhs). On entry, the solution matrix X, as computed by sgetrs. 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).outworkWorkspace array of dimension (
3*n).outiworkInteger workspace array of dimension (
n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void sgerfs(
const char* trans,
const INT n,
const INT nrhs,
const f32* restrict A,
const INT lda,
const f32* restrict AF,
const INT ldaf,
const INT* restrict ipiv,
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 dgerfs(const char *trans, const INT n, const INT nrhs, const f64 *restrict A, const INT lda, const f64 *restrict AF, const INT ldaf, const INT *restrict ipiv, 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)#
DGERFS improves the computed solution to a system of linear equations and provides error bounds and backward error estimates for the solution.
Parameters
intransSpecifies the form of the system of equations:
’N’: A * X = B (No transpose)
’T’: A**T * X = B (Transpose)
’C’: A**H * X = B (Conjugate transpose = Transpose)
innThe order of the matrix
A.n>=0.innrhsThe number of right hand sides.
nrhs>=0.inAArray of dimension (
lda,n). The originaln-by-nmatrixA.inldaThe leading dimension of the array
A.lda>=max(1,n).inAFArray of dimension (
ldaf,n). The factors L and U from the factorization A = P*L*U as computed by dgetrf.inldafThe leading dimension of the array
AF.ldaf>=max(1,n).inipivArray of dimension
n. The pivot indices from dgetrf.inBArray of dimension (
ldb,nrhs). The right hand side matrixB.inldbThe leading dimension of the array
B.ldb>=max(1,n).inoutXArray of dimension (
ldx,nrhs). On entry, the solution matrix X, as computed by dgetrs. 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).outworkWorkspace array of dimension (
3*n).outiworkInteger workspace array of dimension (
n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void dgerfs(
const char* trans,
const INT n,
const INT nrhs,
const f64* restrict A,
const INT lda,
const f64* restrict AF,
const INT ldaf,
const INT* restrict ipiv,
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 cgerfs(const char *trans, const INT n, const INT nrhs, const c64 *restrict A, const INT lda, const c64 *restrict AF, const INT ldaf, 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)#
CGERFS improves the computed solution to a system of linear equations and provides error bounds and backward error estimates for the solution.
Parameters
intransSpecifies the form of the system of equations:
’N’: A * X = B (No transpose)
’T’: A**T * X = B (Transpose)
’C’: A**H * X = B (Conjugate transpose)
innThe order of the matrix
A.n>=0.innrhsThe number of right hand sides.
nrhs>=0.inAComplex array of dimension (
lda,n). The originaln-by-nmatrixA.inldaThe leading dimension of the array
A.lda>=max(1,n).inAFComplex array of dimension (
ldaf,n). The factors L and U from the factorization A = P*L*U as computed by cgetrf.inldafThe leading dimension of the array
AF.ldaf>=max(1,n).inipivArray of dimension
n. The pivot indices from cgetrf.inBComplex array of dimension (
ldb,nrhs). The right hand side matrixB.inldbThe leading dimension of the array
B.ldb>=max(1,n).inoutXComplex array of dimension (
ldx,nrhs). On entry, the solution matrix X, as computed by cgetrs. On exit, the improved solution matrix X.inldxThe leading dimension of the array
X.ldx>=max(1,n).outferrReal array of dimension
nrhs. The estimated forward error bound for each solution vector X(j).outberrReal array of dimension
nrhs. The componentwise relative backward error of each solution vector X(j).outworkComplex workspace array of dimension (
2*n).outrworkReal workspace array of dimension (
n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void cgerfs(
const char* trans,
const INT n,
const INT nrhs,
const c64* restrict A,
const INT lda,
const c64* restrict AF,
const INT ldaf,
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 zgerfs(const char *trans, const INT n, const INT nrhs, const c128 *restrict A, const INT lda, const c128 *restrict AF, const INT ldaf, 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)#
ZGERFS improves the computed solution to a system of linear equations and provides error bounds and backward error estimates for the solution.
Parameters
intransSpecifies the form of the system of equations:
’N’: A * X = B (No transpose)
’T’: A**T * X = B (Transpose)
’C’: A**H * X = B (Conjugate transpose)
innThe order of the matrix
A.n>=0.innrhsThe number of right hand sides.
nrhs>=0.inAComplex array of dimension (
lda,n). The originaln-by-nmatrixA.inldaThe leading dimension of the array
A.lda>=max(1,n).inAFComplex array of dimension (
ldaf,n). The factors L and U from the factorization A = P*L*U as computed by zgetrf.inldafThe leading dimension of the array
AF.ldaf>=max(1,n).inipivArray of dimension
n. The pivot indices from zgetrf.inBComplex array of dimension (
ldb,nrhs). The right hand side matrixB.inldbThe leading dimension of the array
B.ldb>=max(1,n).inoutXComplex array of dimension (
ldx,nrhs). On entry, the solution matrix X, as computed by zgetrs. On exit, the improved solution matrix X.inldxThe leading dimension of the array
X.ldx>=max(1,n).outferrReal array of dimension
nrhs. The estimated forward error bound for each solution vector X(j).outberrReal array of dimension
nrhs. The componentwise relative backward error of each solution vector X(j).outworkComplex workspace array of dimension (
2*n).outrworkReal workspace array of dimension (
n).outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void zgerfs(
const char* trans,
const INT n,
const INT nrhs,
const c128* restrict A,
const INT lda,
const c128* restrict AF,
const INT ldaf,
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
);