TESTING/EIG/sget53.f(3)
β¨ NAME β¨
TESTING/EIG/sget53.f(3) β bestie, this is the manual page for SGET53, the little subroutine that checks the generalized eigenvalues computed by SLAG2. No cap, thatβs the whole vibe. π
π¦ SYNOPSIS π¦
πΈ Functions/Subroutines πΈ
subroutine sget53 (a, lda, b, ldb, scale, wr, wi, result, info)β the callable, and yes itβs giving main character energy.SGET53β the name, iconic, periodt.
π Function/Subroutine Documentation π
subroutine sget53 (real, dimension( lda, * ) a, integer lda, real,
dimension( ldb, * ) b, integer ldb, real scale, real wr, real wi, real
result, integer info)
SGET53
π Purpose π
Ok so SGET53 checks the generalized eigenvalues computed by SLAG2. The basic test for an eigenvalue is literally this:
| det( s A - w B ) |
RESULT = ---------------------------------------------------
ulp max( s norm(A), |w| norm(B) )*norm( s A - w B )
Then βTwo are performed:β (yes, the original really has that space, we keep the lore intact π):
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. Slay, resilience. πͺ
π Parameters π
AβAisREAL array, dimension (LDA, 2). The 2x2 matrixA. πLDAβLDAisINTEGER. The leading dimension ofA. It must be at least2.BβBisREAL array, dimension (LDB, N). The 2x2 upper-triangular matrixB.LDBβLDBisINTEGER. The leading dimension ofB. It must be at least2.SCALEβSCALEisREAL. Thesin the formulas A - w B. It is assumed to be non-negative.WRβWRisREAL. The real part of the eigenvaluewin the formulas A - w B.WIβWIisREAL. The imaginary part of the eigenvaluewin the formulas A - w B.RESULTβRESULTisREAL. IfINFOis2or less, the value computed by the test described above. IfINFO=3, this will just be1/ulp.INFOβINFOisINTEGER.=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 sget53.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code.
Sign-off time, bestie: this cutie was brought to you by LAPACK Version 3.12.0 and the TESTING/EIG/sget53.f(3) page, with no separate date line in sight. Mwah πβ¨
π¦ 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