CGET04(3)
okay so this page is CGET04(3), from the Library Functions Manual, and the header path is /home/abui...IN/cget04.f(3) (it shows up on both sides of the manual name up top, no cap). Weβre folding that whole header vibe in here instead of copy-pasting the line. π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cget04.f β thatβs the name/file. Periodt. β¨
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine CGET04 (n, nrhs, x, ldx, xact, ldxact, rcond, resid)
CGET04
π Function/Subroutine Documentation π
subroutine CGET04 (integer n, integer nrhs, complex, dimension( ldx, * ) x,
integer ldx, complex, dimension( ldxact, * ) xact, integer ldxact, real
rcond, real resid)
CGET04
β¨ Purpose β¨
okay so CGET04 computes the difference between a computed solution and the true solution to a system of linear equations. Itβs giving βresidual math but make it cute.β The formula is:
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β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.XβX is COMPLEX 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 COMPLEX array, dimension (LDX,NRHS); the exact solution vectors. Each vector is stored as a column of the matrixXACT. (yes, the original says(LDX,NRHS)right here β we keep it exactly, bestie.)LDXACTβLDXACT is INTEGER; the leading dimension of the arrayXACT.LDXACT >= max(1,N).RCONDβRCOND is REAL; the reciprocal of the condition number of the coefficient matrix in the system of equations.RESIDβRESID is 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 cget04.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
π thatβs the whole page, bestie π Footer sign-off: LAPACK Version 3.12.0, and the trailing path is /home/abui...IN/cget04.f(3) β thatβs the source/date slot on this page. Go slay those residuals. π¦β¨
π¦ 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