tbrfs#
Functions
-
void stbrfs(const char *uplo, const char *trans, const char *diag, const INT n, const INT kd, const INT nrhs, const f32 *restrict AB, const INT ldab, const f32 *restrict B, const INT ldb, const f32 *restrict X, const INT ldx, f32 *restrict ferr, f32 *restrict berr, f32 *restrict work, INT *restrict iwork, INT *info)#
STBRFS provides error bounds and backward error estimates for the solution to a system of linear equations with a triangular band coefficient matrix.
The solution matrix X must be computed by STBTRS or some other means before entering this routine. STBRFS does not do iterative refinement because doing so cannot improve the backward error.
Parameters
inuplo= ‘U’: A is upper triangular = ‘L’: A is lower triangular
intrans= ‘N’: A * X = B (No transpose) = ‘T’: A**T * X = B (Transpose) = ‘C’: A**H * X = B (Conjugate transpose = Transpose)
indiag= ‘N’: A is non-unit triangular = ‘U’: A is unit triangular
innThe order of the matrix A. n >= 0.
inkdThe number of superdiagonals or subdiagonals. kd >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inABThe triangular band matrix A. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
inBThe right hand side matrix B. Array of dimension (ldb, nrhs).
inldbThe leading dimension of B. ldb >= max(1,n).
inXThe solution matrix X. 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).
outworkWorkspace array of dimension (3*n).
outiworkInteger workspace array of dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void stbrfs(
const char* uplo,
const char* trans,
const char* diag,
const INT n,
const INT kd,
const INT nrhs,
const f32* restrict AB,
const INT ldab,
const f32* restrict B,
const INT ldb,
const f32* restrict X,
const INT ldx,
f32* restrict ferr,
f32* restrict berr,
f32* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void dtbrfs(const char *uplo, const char *trans, const char *diag, const INT n, const INT kd, const INT nrhs, const f64 *restrict AB, const INT ldab, const f64 *restrict B, const INT ldb, const f64 *restrict X, const INT ldx, f64 *restrict ferr, f64 *restrict berr, f64 *restrict work, INT *restrict iwork, INT *info)#
DTBRFS provides error bounds and backward error estimates for the solution to a system of linear equations with a triangular band coefficient matrix.
The solution matrix X must be computed by DTBTRS or some other means before entering this routine. DTBRFS does not do iterative refinement because doing so cannot improve the backward error.
Parameters
inuplo= ‘U’: A is upper triangular = ‘L’: A is lower triangular
intrans= ‘N’: A * X = B (No transpose) = ‘T’: A**T * X = B (Transpose) = ‘C’: A**H * X = B (Conjugate transpose = Transpose)
indiag= ‘N’: A is non-unit triangular = ‘U’: A is unit triangular
innThe order of the matrix A. n >= 0.
inkdThe number of superdiagonals or subdiagonals. kd >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inABThe triangular band matrix A. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
inBThe right hand side matrix B. Array of dimension (ldb, nrhs).
inldbThe leading dimension of B. ldb >= max(1,n).
inXThe solution matrix X. 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).
outworkWorkspace array of dimension (3*n).
outiworkInteger workspace array of dimension (n).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void dtbrfs(
const char* uplo,
const char* trans,
const char* diag,
const INT n,
const INT kd,
const INT nrhs,
const f64* restrict AB,
const INT ldab,
const f64* restrict B,
const INT ldb,
const f64* restrict X,
const INT ldx,
f64* restrict ferr,
f64* restrict berr,
f64* restrict work,
INT* restrict iwork,
INT* info
);
Functions
-
void ctbrfs(const char *uplo, const char *trans, const char *diag, const INT n, const INT kd, const INT nrhs, const c64 *restrict AB, const INT ldab, const c64 *restrict B, const INT ldb, const c64 *restrict X, const INT ldx, f32 *restrict ferr, f32 *restrict berr, c64 *restrict work, f32 *restrict rwork, INT *info)#
CTBRFS provides error bounds and backward error estimates for the solution to a system of linear equations with a triangular band coefficient matrix.
The solution matrix X must be computed by CTBTRS or some other means before entering this routine. CTBRFS does not do iterative refinement because doing so cannot improve the backward error.
Parameters
inuplo= ‘U’: A is upper triangular = ‘L’: A is lower triangular
intrans= ‘N’: A * X = B (No transpose) = ‘T’: A**T * X = B (Transpose) = ‘C’: A**H * X = B (Conjugate transpose)
indiag= ‘N’: A is non-unit triangular = ‘U’: A is unit triangular
innThe order of the matrix A. n >= 0.
inkdThe number of superdiagonals or subdiagonals. kd >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inABThe triangular band matrix A. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
inBThe right hand side matrix B. Array of dimension (ldb, nrhs).
inldbThe leading dimension of B. ldb >= max(1,n).
inXThe solution matrix X. 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 ctbrfs(
const char* uplo,
const char* trans,
const char* diag,
const INT n,
const INT kd,
const INT nrhs,
const c64* restrict AB,
const INT ldab,
const c64* restrict B,
const INT ldb,
const c64* restrict X,
const INT ldx,
f32* restrict ferr,
f32* restrict berr,
c64* restrict work,
f32* restrict rwork,
INT* info
);
Functions
-
void ztbrfs(const char *uplo, const char *trans, const char *diag, const INT n, const INT kd, const INT nrhs, const c128 *restrict AB, const INT ldab, const c128 *restrict B, const INT ldb, const c128 *restrict X, const INT ldx, f64 *restrict ferr, f64 *restrict berr, c128 *restrict work, f64 *restrict rwork, INT *info)#
ZTBRFS provides error bounds and backward error estimates for the solution to a system of linear equations with a triangular band coefficient matrix.
The solution matrix X must be computed by ZTBTRS or some other means before entering this routine. ZTBRFS does not do iterative refinement because doing so cannot improve the backward error.
Parameters
inuplo= ‘U’: A is upper triangular = ‘L’: A is lower triangular
intrans= ‘N’: A * X = B (No transpose) = ‘T’: A**T * X = B (Transpose) = ‘C’: A**H * X = B (Conjugate transpose)
indiag= ‘N’: A is non-unit triangular = ‘U’: A is unit triangular
innThe order of the matrix A. n >= 0.
inkdThe number of superdiagonals or subdiagonals. kd >= 0.
innrhsThe number of right hand sides. nrhs >= 0.
inABThe triangular band matrix A. Array of dimension (ldab, n).
inldabThe leading dimension of AB. ldab >= kd+1.
inBThe right hand side matrix B. Array of dimension (ldb, nrhs).
inldbThe leading dimension of B. ldb >= max(1,n).
inXThe solution matrix X. 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 ztbrfs(
const char* uplo,
const char* trans,
const char* diag,
const INT n,
const INT kd,
const INT nrhs,
const c128* restrict AB,
const INT ldab,
const c128* restrict B,
const INT ldb,
const c128* restrict X,
const INT ldx,
f64* restrict ferr,
f64* restrict berr,
c128* restrict work,
f64* restrict rwork,
INT* info
);