gbrfs#
Functions
-
void sgbrfs(const char *trans, const INT n, const INT kl, const INT ku, const INT nrhs, const f32 *restrict AB, const INT ldab, const f32 *restrict AFB, const INT ldafb, 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)#
SGBRFS improves the computed solution to a system of linear equations when the coefficient matrix is banded, 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).
inklThe number of subdiagonals within the band of A (kl >= 0).
inkuThe number of superdiagonals within the band of A (ku >= 0).
innrhsThe number of right hand sides (nrhs >= 0).
inABThe original band matrix A, stored in rows 0 to kl+ku. The j-th column of A is stored in the j-th column of AB: AB[ku+i-j + j*ldab] = A(i,j) for max(0,j-ku)<=i<=min(n-1,j+kl). Array of dimension (ldab, n).
inldabThe leading dimension of AB (ldab >= kl+ku+1).
inAFBThe LU factorization of A, as computed by sgbtrf. U is stored in rows 0 to kl+ku, and the multipliers are stored in rows kl+ku+1 to 2*kl+ku. Array of dimension (ldafb, n).
inldafbThe leading dimension of AFB (ldafb >= 2*kl+ku+1).
inipivThe pivot indices from sgbtrf. 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, as computed by sgbtrs. On exit, the improved solution matrix X. Array of dimension (ldx, nrhs).
inldxThe leading dimension of X (ldx >= max(1,n)).
outferrThe estimated forward error bound for each solution vector X(j). Array of dimension nrhs.
outberrThe componentwise relative backward error of each solution vector X(j). Array of dimension nrhs.
outworkWorkspace array of dimension (3*n).
outiworkInteger workspace array of dimension (n).
outinfoExit status:
= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void sgbrfs(
const char* trans,
const INT n,
const INT kl,
const INT ku,
const INT nrhs,
const f32* restrict AB,
const INT ldab,
const f32* restrict AFB,
const INT ldafb,
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 dgbrfs(const char *trans, const INT n, const INT kl, const INT ku, const INT nrhs, const f64 *restrict AB, const INT ldab, const f64 *restrict AFB, const INT ldafb, 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)#
DGBRFS improves the computed solution to a system of linear equations when the coefficient matrix is banded, 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).
inklThe number of subdiagonals within the band of A (kl >= 0).
inkuThe number of superdiagonals within the band of A (ku >= 0).
innrhsThe number of right hand sides (nrhs >= 0).
inABThe original band matrix A, stored in rows 0 to kl+ku. The j-th column of A is stored in the j-th column of AB: AB[ku+i-j + j*ldab] = A(i,j) for max(0,j-ku)<=i<=min(n-1,j+kl). Array of dimension (ldab, n).
inldabThe leading dimension of AB (ldab >= kl+ku+1).
inAFBThe LU factorization of A, as computed by dgbtrf. U is stored in rows 0 to kl+ku, and the multipliers are stored in rows kl+ku+1 to 2*kl+ku. Array of dimension (ldafb, n).
inldafbThe leading dimension of AFB (ldafb >= 2*kl+ku+1).
inipivThe pivot indices from dgbtrf. 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, as computed by dgbtrs. On exit, the improved solution matrix X. Array of dimension (ldx, nrhs).
inldxThe leading dimension of X (ldx >= max(1,n)).
outferrThe estimated forward error bound for each solution vector X(j). Array of dimension nrhs.
outberrThe componentwise relative backward error of each solution vector X(j). Array of dimension nrhs.
outworkWorkspace array of dimension (3*n).
outiworkInteger workspace array of dimension (n).
outinfoExit status:
= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void dgbrfs(
const char* trans,
const INT n,
const INT kl,
const INT ku,
const INT nrhs,
const f64* restrict AB,
const INT ldab,
const f64* restrict AFB,
const INT ldafb,
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 cgbrfs(const char *trans, const INT n, const INT kl, const INT ku, const INT nrhs, const c64 *restrict AB, const INT ldab, const c64 *restrict AFB, const INT ldafb, 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)#
CGBRFS improves the computed solution to a system of linear equations when the coefficient matrix is banded, 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).
inklThe number of subdiagonals within the band of A (kl >= 0).
inkuThe number of superdiagonals within the band of A (ku >= 0).
innrhsThe number of right hand sides (nrhs >= 0).
inABThe original band matrix A, stored in rows 0 to kl+ku. The j-th column of A is stored in the j-th column of AB: AB[ku+i-j + j*ldab] = A(i,j) for max(0,j-ku)<=i<=min(n-1,j+kl). Array of dimension (ldab, n).
inldabThe leading dimension of AB (ldab >= kl+ku+1).
inAFBThe LU factorization of A, as computed by cgbtrf. U is stored in rows 0 to kl+ku, and the multipliers are stored in rows kl+ku+1 to 2*kl+ku. Array of dimension (ldafb, n).
inldafbThe leading dimension of AFB (ldafb >= 2*kl+ku+1).
inipivThe pivot indices from cgbtrf. 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, as computed by cgbtrs. On exit, the improved solution matrix X. Array of dimension (ldx, nrhs).
inldxThe leading dimension of X (ldx >= max(1,n)).
outferrThe estimated forward error bound for each solution vector X(j). Array of dimension nrhs.
outberrThe componentwise relative backward error of each solution vector X(j). Array of dimension nrhs.
outworkComplex workspace array of dimension (2*n).
outrworkReal workspace array of dimension (n).
outinfoExit status:
= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void cgbrfs(
const char* trans,
const INT n,
const INT kl,
const INT ku,
const INT nrhs,
const c64* restrict AB,
const INT ldab,
const c64* restrict AFB,
const INT ldafb,
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 zgbrfs(const char *trans, const INT n, const INT kl, const INT ku, const INT nrhs, const c128 *restrict AB, const INT ldab, const c128 *restrict AFB, const INT ldafb, 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)#
ZGBRFS improves the computed solution to a system of linear equations when the coefficient matrix is banded, 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).
inklThe number of subdiagonals within the band of A (kl >= 0).
inkuThe number of superdiagonals within the band of A (ku >= 0).
innrhsThe number of right hand sides (nrhs >= 0).
inABThe original band matrix A, stored in rows 0 to kl+ku. The j-th column of A is stored in the j-th column of AB: AB[ku+i-j + j*ldab] = A(i,j) for max(0,j-ku)<=i<=min(n-1,j+kl). Array of dimension (ldab, n).
inldabThe leading dimension of AB (ldab >= kl+ku+1).
inAFBThe LU factorization of A, as computed by zgbtrf. U is stored in rows 0 to kl+ku, and the multipliers are stored in rows kl+ku+1 to 2*kl+ku. Array of dimension (ldafb, n).
inldafbThe leading dimension of AFB (ldafb >= 2*kl+ku+1).
inipivThe pivot indices from zgbtrf. 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, as computed by zgbtrs. On exit, the improved solution matrix X. Array of dimension (ldx, nrhs).
inldxThe leading dimension of X (ldx >= max(1,n)).
outferrThe estimated forward error bound for each solution vector X(j). Array of dimension nrhs.
outberrThe componentwise relative backward error of each solution vector X(j). Array of dimension nrhs.
outworkComplex workspace array of dimension (2*n).
outrworkReal workspace array of dimension (n).
outinfoExit status:
= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void zgbrfs(
const char* trans,
const INT n,
const INT kl,
const INT ku,
const INT nrhs,
const c128* restrict AB,
const INT ldab,
const c128* restrict AFB,
const INT ldafb,
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
);