SRC/dtrrfs.f(3)
okay so bestie, welcome to SRC/dtrrfs.f(3) from the Library Functions Manual β this page is giving LAPACK error-bound realness and we are seated π
π NAME π
SRC/dtrrfs.f β the DTRRFS girlies are here to give you error bounds and backward error estimates for triangular linear systems β¨
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine dtrrfs (uplo, trans, diag, n, nrhs, a, lda, b, ldb, x, ldx,
ferr, berr, work, iwork, info)
DTRRFS
π¦ Function/Subroutine Documentation π¦
subroutine dtrrfs (character uplo, character trans, character diag, integer
n, integer nrhs, double precision, dimension( lda, * ) a, integer lda,
double precision, dimension( ldb, * ) b, integer ldb, double precision,
dimension( ldx, * ) x, integer ldx, double precision, dimension( * )
ferr, double precision, dimension( * ) berr, double precision,
dimension( * ) work, integer, dimension( * ) iwork, integer info)
DTRRFS
π DTRRFS π
π― Purpose π―
okay so DTRRFS provides error bounds and backward error estimates for the solution to a system of linear equations with a triangular coefficient matrix. no cap, that's the whole vibe π₯
the solution matrix X must be computed by DTRTRS or some other means before entering this routine. and listen: DTRRFS does not do iterative refinement because doing so cannot improve the backward error. periodt π
π§Έ Parameters π§Έ
UPLOβUPLO is CHARACTER*1;= 'U': A is upper triangular;= 'L': A is lower triangular.TRANSβTRANS is CHARACTER*1; specifies 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).DIAGβDIAG is CHARACTER*1;= 'N': A is non-unit triangular;= 'U': A is unit triangular.NβN is INTEGER; the order of the matrix A.N >= 0.NRHSβNRHS is INTEGER; the number of right hand sides, i.e., the number of columns of the matrices B and X.NRHS >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N); the triangular matrix A. IfUPLO = 'U', the leading N-by-N upper triangular part of the array A contains the upper triangular matrix, and the strictly lower triangular part of A is not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part of the array A contains the lower triangular matrix, and the strictly upper triangular part of A is not referenced. IfDIAG = 'U', the diagonal elements of A are also not referenced and are assumed to be 1.LDAβLDA is INTEGER; the leading dimension of the array A.LDA >= max(1,N).BβB is DOUBLE PRECISION array, dimension (LDB,NRHS); the right hand side matrix B.LDBβLDB is INTEGER; the leading dimension of the array B.LDB >= max(1,N).XβX is DOUBLE PRECISION array, dimension (LDX,NRHS); the solution matrix X.LDXβLDX is INTEGER; the leading dimension of the array X.LDX >= max(1,N).FERRβFERR is DOUBLE PRECISION array, dimension (NRHS); the estimated forward error bound for each solution vectorX(j)(the j-th column of the solution matrix X). IfXTRUEis the true solution corresponding toX(j),FERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). The estimate is as reliable as the estimate forRCOND, and is almost always a slight overestimate of the true error. bestie, it's lowkey overestimating on purpose πBERRβBERR is DOUBLE PRECISION array, dimension (NRHS); the componentwise relative backward error of each solution vectorX(j)(i.e., the smallest relative change in any element of A or B that makesX(j)an exact solution).WORKβWORK is DOUBLE PRECISION array, dimension (3*N).IWORKβIWORK is INTEGER array, dimension (N).INFOβINFO is INTEGER;= 0: successful exit;< 0: ifINFO = -i, the i-th argument had an illegal value.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 180 of file dtrrfs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
byeee π this page is from SRC/dtrrfs.f(3), and the footer says LAPACK Version 3.12.0 β iconic, no notes π
β¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms