TESTING/LIN/zebchvxx.f(3)
π¦ NAME π¦
TESTING/LIN/zebchvxx.f β bestie, this is the Fortran source file for the zebchvxx test routine, and it is so much more than it looks π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine zebchvxx (thresh, path)β the one and only,ZEBCHVXXherself π
π Function/Subroutine Documentation π
subroutine zebchvxx (double precision thresh, character*3 path)
πΈ ZEBCHVXX Purpose πΈ
okay so here's the whole vibe: ZEBCHVXX runs Z**SVXX on a whole series of Hilbert matrices, and then it takes the error bounds that Z**SVXX handed back and does a little vibe check on them β like, does the answer it returned actually fall inside those bounds? yes or no, no cap π₯
Eight test ratios will be computed. The tests pass if they are .LT. THRESH. And there are two whole cases, decided by 1 / (SQRT( N ) * EPS). If that value is .LE. to the component wise reciprocal condition number, it uses the guaranteed case; otherwise it uses the unguaranteed case. literally two timelines π¦
π 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.
- 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,
CGESVXXshould just return1. If it is less than one, treat it the same as in 1A. Otherwise it fails. (Set test ratio toERRBND( *, nwise_i, bnd_i ) * THRESH?)
- A:
- 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:
- Backwards error. π
- A: The test ratio is set to
BERR/EPS. - B: Same test ratio.
- A: The test ratio is set to
- Reciprocal condition number. π
- A: A condition number is computed with
Xtand compared with the one returned fromCGESVXX. LetRCONDcbe theRCONDreturned byCGESVXXandRCONDtbe 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
- 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
- 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
π .. Parameters .. π
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. π (yes that precision is gone, she's exhausted, respect it)
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 95 of file zebchvxx.f. π―
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
k that's the whole page bestie, no notes ππ this is LAPACK Version 3.12.0, TESTING/LIN/zebchvxx.f(3), mwah β study it, cite it, slay it πΈβ¨π
π¦ 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