SGET04(3)
πΈ NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sget04.f
Okay bestie, this is the SGET04(3) page β specifically the sget04.f(3) manpage from the Library Functions Manual. And yes, the whole path above is literally the NAME. We are not editing it. Periodt. π
β¨ SYNOPSIS β¨
π οΈ Functions/Subroutines
subroutine SGET04 (n, nrhs, x, ldx, xact, ldxact, rcond, resid)
SGET04
π§ Function/Subroutine Documentation π§
subroutine SGET04 (integer n, integer nrhs, real, dimension( ldx, * ) x,
integer ldx, real, dimension( ldxact, * ) xact, integer ldxact, real
rcond, real resid)
This one is SGET04, no cap. π«Ά
π― Purpose
SGET04 computes the difference between a computed solution and the true solution to a system of linear equations. Itβs giving math-girl main character energy. πβ¨
Hereβs the exact formula vibe:
RESID = ( norm(X-XACT) * RCOND ) / ( norm(XACT) * EPS ),
where RCOND is the reciprocal of the condition number and EPS is the machine epsilon. π
π§Ύ Parameters
NβNisINTEGER; itβs the number of rows of the matricesXandXACT.N >= 0. πΈNRHSβNRHSisINTEGER; itβs the number of columns of the matricesXandXACT.NRHS >= 0. π¦XβXis aREALarray, dimension(LDX,NRHS); these are the computed solution vectors, and each vector is stored as a column of the matrixX. πLDXβLDXisINTEGER; itβs the leading dimension of the arrayX.LDX >= max(1,N). π₯XACTβXACTis aREALarray, dimension( LDX, NRHS ); these are the exact solution vectors, and each vector is stored as a column of the matrixXACT. πLDXACTβLDXACTisINTEGER; itβs the leading dimension of the arrayXACT.LDXACT >= max(1,N). πRCONDβRCONDisREAL; itβs the reciprocal of the condition number of the coefficient matrix in the system of equations. βRESIDβRESIDisREAL; itβs the maximum over theNRHSsolution vectors of( norm(X-XACT) * RCOND ) / ( norm(XACT) * EPS ). π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 101 of file sget04.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
π Thatβs the whole page, bestie β the footer has LAPACK Version 3.12.0 and /home/abui...IN/sget04.f(3). Iconic. π
π¦ 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