TESTING/EIG/dget53.f(3)
π TESTING/EIG/dget53.f π
okay so this is the Library Functions Manual page TESTING/EIG/dget53.f(3) β the manual name is folded right in here instead of copy-pasting the header line. π«Ά
πΈ NAME πΈ
TESTING/EIG/dget53.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine dget53 (a, lda, b, ldb, scale, wr, wi, result, info)βDGET53
π Function/Subroutine Documentation π
π subroutine dget53 π
subroutine dget53 (double precision, dimension( lda, * ) a, integer lda,
double precision, dimension( ldb, * ) b, integer ldb, double precision
scale, double precision wr, double precision wi, double precision
result, integer info)
DGET53
π« Purpose π«
okay so DGET53 checks the generalized eigenvalues that DLAG2 computed. No cap, thatβs literally the job. β¨
The basic test for an eigenvalue is:
| det( s A - w B ) |
RESULT = ---------------------------------------------------
ulp max( s norm(A), |w| norm(B) )*norm( s A - w B )
Two are performed:
ulp*max( s*norm(A), |w|*norm(B) )must be at leastsafe_minimum. This insures that the test performed is not essentiallydet(0*A + 0*B)=0.s*norm(A) + |w|*norm(B)must be less than1/safe_minimum. This insures thats*A - w*Bwill not overflow.
If these tests are not passed, then s and w are scaled and tested anyway, if this is possible. π¦
π Parameters π
AβAis DOUBLE PRECISION array, dimension(LDA, 2). Itβs the2x2matrixA. πLDAβ INTEGER. The leading dimension ofA. It must be at least2. β¨BβBis DOUBLE PRECISION array, dimension(LDB, N). Itβs the2x2upper-triangular matrixB. πLDBβ INTEGER. The leading dimension ofB. It must be at least2. πΈSCALEβ DOUBLE PRECISION. Thesin the formulas A - w B. It is assumed to be non-negative. π«ΆWRβ DOUBLE PRECISION. The real part of the eigenvaluewin the formulas A - w B. πWIβ DOUBLE PRECISION. The imaginary part of the eigenvaluewin the formulas A - w B. π¦RESULTβ DOUBLE PRECISION. IfINFOis2or less, the value computed by the test described above. IfINFO=3, this will just be1/ulp. πINFOβ INTEGER. The status tea is:=0: The input data pass the .=1:s*norm(A) + |w|*norm(B) > 1/safe_minimum.=2:ulp*max( s*norm(A), |w|*norm(B) ) < safe_minimum=3: same asINFO=2, butsandwcould not be scaled so as to compute the test.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 125 of file dget53.f. π
π Author π
Yep, the auto-generated tea: Generated automatically by Doxygen for LAPACK from the source code. ββ¨
byeeee bestie π«Άπ β source/version energy: LAPACK, Version 3.12.0, for page TESTING/EIG/dget53.f(3). The original footer doesnβt print a separate date, so Iβm not inventing one β 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