TESTING/LIN/sebchvxx.f(3)
π TESTING/LIN/sebchvxx.f(3) π
from the Library Functions Manual, bestie β no cap, we're doing the whole thing. This is the page for the sebchvxx subroutine, and it's lowkey a whole vibe. π
β¨ NAME β¨
TESTING/LIN/sebchvxx.f β that's the name, periodt. This is the manual page for that file. π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine sebchvxx (thresh, path)
SEBCHVXXβ the short description. That's literally all it says here. π
π¦ Function/Subroutine Documentation π¦
subroutine sebchvxx (real thresh, character*3 path)
SEBCHVXX
π Purpose π
okay so SEBCHVXX will run S**SVXX on a series of Hilbert matrices and then compare the error bounds returned by SGESVXX to see if the returned answer indeed falls within those bounds. fr fr, that's the whole mission. π«Ά
Eight test ratios will be computed. The tests will pass if they are .LT. THRESH. There are two cases that are determined by 1 / (SQRT( N ) * EPS). If that value is .LE. to the component wise reciprocal condition number, it uses the guaranteed case; other wise it uses the unguaranteed case. (Yes, βother wiseβ is two words in the original β we respect the source. π
)
Test ratios:
Let Xc be X_computed and Xt be X_truth. The norm used is the infinity norm.
Let A be the guaranteed case and B be the unguaranteed case.
- 1. Normwise guaranteed forward error bound.
- A:
norm ( abs( Xc - Xt ) / norm ( Xt ) .LE. ERRBND( *, nwise_i, bnd_i )andERRBND( *, nwise_i, bnd_i ) .LE. MAX(SQRT(N),10) * EPS.If these conditions are met, the test ratio is set to beERRBND( *, nwise_i, bnd_i ) / MAX(SQRT(N), 10). Otherwise it is1/EPS. - B: For this case,
SGESVXXshould just return1. If it is less than one, treat it the same as in1A. Otherwise it fails. (Set test ratio toERRBND( *, nwise_i, bnd_i ) * THRESH?)
- A:
- 2. Componentwise guaranteed forward error bound.
- A:
norm ( abs( Xc(j) - Xt(j) ) ) / norm (Xt(j)) .LE. ERRBND( *, cwise_i, bnd_i )for allj.AND.ERRBND( *, cwise_i, bnd_i ) .LE. MAX(SQRT(N), 10) * EPS.If these conditions are met, the test ratio is set to beERRBND( *, cwise_i, bnd_i ) / MAX(SQRT(N), 10). Otherwise it is1/EPS. - B: Same as normwise test ratio.
- A:
- 3. Backwards error.
- A: The test ratio is set to
BERR/EPS. - B: Same test ratio.
- A: The test ratio is set to
- 4. Reciprocal condition number.
- A: A condition number is computed with
Xtand compared with the one returned fromSGESVXX. LetRCONDcbe theRCONDreturned bySGESVXXandRCONDtbe theRCONDfrom the truth value. Test ratio is set toMAX(RCONDc/RCONDt, RCONDt/RCONDc). - B: Test ratio is set to
1 / (EPS * RCONDc).
- A: A condition number is computed with
- 5. Reciprocal normwise condition number.
- A: The test ratio is set to
MAX(ERRBND( *, nwise_i, cond_i ) / NCOND, NCOND / ERRBND( *, nwise_i, cond_i )). - B: Test ratio is set to
1 / (EPS * ERRBND( *, nwise_i, cond_i )).
- A: The test ratio is set to
- 7. Reciprocal componentwise condition number.
- A: Test ratio is set to
MAX(ERRBND( *, cwise_i, cond_i ) / CCOND, CCOND / ERRBND( *, cwise_i, cond_i )). - B: Test ratio is set to
1 / (EPS * ERRBND( *, cwise_i, cond_i )).
- A: Test ratio is set to
not me noticing the list goes1,2,3,4,5,7β there is no6in the original, bestie. that's just how it is. π
The doc block also has a .. Parameters .. note: NMAX is determined by the largest number in the inverse of the Hilbert matrix. Precision is exhausted when the largest entry in it is greater than 2 to the power of the number of bits in the fraction of the data type used plus one, which is 24 for single precision. NMAX should be 6 for single and 11 for double. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition: at line 95 of file sebchvxx.f.
πͺ Author πͺ
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie! periodt π the footer vibes are LAPACK Version 3.12.0 and TESTING/LIN/sebchvxx.f(3) β no separate date printed, so that's the source/version/reference situation. ππ
π¦ 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