TESTING/LIN/sget04.f(3)
๐ฆ TESTING/LIN/sget04.f(3) โ Library Functions Manual ๐ฆ
๐ธ NAME ๐ธ
TESTING/LIN/sget04.f โ thatโs the page, bestie, and the manual name is Library Functions Manual. The actual subroutine living here is SGET04, and itโs lowkey the main character of this file. ๐
โจ 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)
SGET04 โ yes, thatโs the subroutine name, and it is absolutely the icon of this page. ๐
๐ฏ Purpose ๐ฏ
SGET04 computes the difference between a computed solution and the true solution to a system of linear equations.
The formula is the whole vibe check:
RESID = ( norm(X-XACT) * RCOND ) / ( norm(XACT) * EPS ),
where RCOND is the reciprocal of the condition number and EPS is the machine epsilon. No cap, thatโs the math. ๐งฎโจ
๐งฎ Parameters ๐งฎ
NโINTEGER; the number of rows of the matricesXandXACT.N >= 0.NRHSโINTEGER; the number of columns of the matricesXandXACT.NRHS >= 0.XโREAL array, dimension (LDX,NRHS); the computed solution vectors. Each vector is stored as a column of the matrixX.LDXโINTEGER; the leading dimension of the arrayX.LDX >= max(1,N).XACTโREAL array, dimension( LDX, NRHS ); the exact solution vectors. Each vector is stored as a column of the matrixXACT.LDXACTโINTEGER; the leading dimension of the arrayXACT.LDXACT >= max(1,N).RCONDโREAL; the reciprocal of the condition number of the coefficient matrix in the system of equations.RESIDโREAL; 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 ๐ซถ โ footer vibes are LAPACK Version 3.12.0 and page TESTING/LIN/sget04.f(3). The footer didnโt give me a date, so Iโm not making one up. Periodt. ๐
๐ฆ 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