TESTING/EIG/dget31.f(3)
π TESTING/EIG/dget31.f π
okay bestie, welcome to the Library Functions Manual page for TESTING/EIG/dget31.f β yes, it's a whole Fortran testing routine and we're gonna read it together. No cap. π
πΈ NAME πΈ
TESTING/EIG/dget31.f
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine dget31 (rmax, lmax, ninfo, knt)
DGET31
π§ Function/Subroutine Documentation π§
π subroutine dget31 π
subroutine dget31 (double precision rmax, integer lmax, integer, dimension(
2 ) ninfo, integer knt)
DGET31
π Purpose π
Okay so DGET31 tests DLALN2, a routine for solving:
(ca A - w D)X = sB
Here's the tea: A is an NA by NA matrix β and bestie, NA=1 or 2 only, those are the only sizes on the menu. w is a real constant when NW=1 or a complex constant when NW=2. ca is a real constant. D is an NA by NA real diagonal matrix, and B is an NA by NW matrix β when NW=2, the second column of B contains the imaginary part of the solution. The code returns X and s, where s is a scale factor, less than or equal to 1, chosen to avoid overflow in X.
If any singular values of ca A-w D are less than another input parameter SMIN, they are perturbed up to SMIN.
The test condition is that the scaled residual:
norm( (ca A-w D)*X - s*B ) /
( max( ulp*norm(ca A-w D), SMIN )*norm(X) )
should be on the order of 1. Here, ulp is the machine precision. Also, it is verified that SCALE is less than or equal to 1, and that XNORM = infinity-norm(X).
πΈ Parameters πΈ
RMAXβ DOUBLE PRECISION; this is the value of the largest test ratio.LMAXβ INTEGER; this is the example number where the largest test ratio was achieved.NINFOβ INTEGER array, dimension (2);NINFO(1)= number of examples withINFOless than0, andNINFO(2)= number of examples withINFOgreater than0.KNTβ INTEGER; total number of examples tested.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 90 of file dget31.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
cute sign-off, bestie: the footer stamp is LAPACK Version 3.12.0 and TESTING/EIG/dget31.f(3) β that's the whole footer vibe, 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