SGTT05(3)
π SGTT05(3) β Library Functions Manual π
okay so bestie, welcome to SGTT05(3) β this is a Library Functions Manual page, and it's giving βI test error bounds from iterative refinementβ energy. Letβs get into it π
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sgtt05.f
thatβs the file path this page is named after, fr fr π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SGTT05 (trans, n, nrhs, dl, d, du, b, ldb, x, ldx, xact,
ldxact, ferr, berr, reslts)
SGTT05
π¦ Function/Subroutine Documentation π¦
SGTT05 π«Ά
subroutine SGTT05 (character trans, integer n, integer nrhs, real,
dimension( * ) dl, real, dimension( * ) d, real, dimension( * ) du,
real, dimension( ldb, * ) b, integer ldb, real, dimension( ldx, * ) x,
integer ldx, real, dimension( ldxact, * ) xact, integer ldxact, real,
dimension( * ) ferr, real, dimension( * ) berr, real, dimension( * )
reslts)
SGTT05
thatβs the whole signature, bestie β every argument accounted for π
π― Purpose π―
okay so SGTT05 tests the error bounds from iterative refinement for the computed solution to a system of equations A*X = B, where A is a general tridiagonal matrix of order n and op(A) = A or A**T, depending on TRANS. thatβs the assignment, no cap β¨
RESLTS(1) = test of the error bound
= norm(X - XACT) / ( norm(X) * FERR )
warning-ish: a large value is returned if this ratio is not less than one. periodt.
RESLTS(2) = residual from the iterative refinement routine
= the maximum of BERR / ( NZ*EPS + (*) ), where
(*) = NZ*UNFL / (min_i (abs(op(A))*abs(X) +abs(b))_i )
and NZ = max. number of nonzeros in any row of A, plus 1
πΈ Parameters πΈ
TRANSβTRANS is CHARACTER*1. it 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)
NβN is INTEGER. the number of rows of the matricesXandXACT.N >= 0.NRHSβNRHS is INTEGER. the number of columns of the matricesXandXACT.NRHS >= 0.DLβDL is REAL array, dimension (N-1). the(n-1)sub-diagonal elements ofA.DβD is REAL array, dimension (N). the diagonal elements ofA.DUβDU is REAL array, dimension (N-1). the(n-1)super-diagonal elements ofA.BβB is REAL array, dimension (LDB,NRHS). the right hand side vectors for the system of linear equations.LDBβLDB is INTEGER. the leading dimension of the arrayB.LDB >= max(1,N).XβX is REAL array, dimension (LDX,NRHS). the computed solution vectors. each vector is stored as a column of the matrixX.LDXβLDX is INTEGER. the leading dimension of the arrayX.LDX >= max(1,N).XACTβXACT is REAL array, dimension (LDX,NRHS). the exact solution vectors. each vector is stored as a column of the matrixXACT.LDXACTβLDXACT is INTEGER. the leading dimension of the arrayXACT.LDXACT >= max(1,N).FERRβFERR is REAL array, dimension (NRHS). the estimated forward error bounds for each solution vectorX. ifXTRUEis the true solution,FERRbounds the magnitude of the largest entry in(X - XTRUE)divided by the magnitude of the largest entry inX.BERRβBERR is REAL array, dimension (NRHS). the componentwise relative backward error of each solution vector (i.e., the smallest relative change in any entry ofAorBthat makesXan exact solution).RESLTSβRESLTS is REAL array, dimension (2). the maximum over theNRHSsolution vectors of the ratios:RESLTS(1) = norm(X - XACT) / ( norm(X) * FERR )RESLTS(2) = BERR / ( NZ*EPS + (*) )
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 163 of file sgtt05.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole vibe check. this page is from LAPACK, version 3.12.0, and the file itβs repping is /home/abui...IN/sgtt05.f(3). mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms