TESTING/EIG/sget53.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

✨ 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 πŸ™ˆ):

  1. ulp*max( s*norm(A), |w|*norm(B) ) must be at least safe_minimum. This insures that the test performed is not essentially det(0*A + 0*B)=0.
  2. s*norm(A) + |w|*norm(B) must be less than 1/safe_minimum. This insures that s*A - w*B will 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 β€” A is REAL array, dimension (LDA, 2). The 2x2 matrix A. πŸ’–
  • LDA β€” LDA is INTEGER. The leading dimension of A. It must be at least 2.
  • B β€” B is REAL array, dimension (LDB, N). The 2x2 upper-triangular matrix B.
  • LDB β€” LDB is INTEGER. The leading dimension of B. It must be at least 2.
  • SCALE β€” SCALE is REAL. The s in the formula s A - w B. It is assumed to be non-negative.
  • WR β€” WR is REAL. The real part of the eigenvalue w in the formula s A - w B.
  • WI β€” WI is REAL. The imaginary part of the eigenvalue w in the formula s A - w B.
  • RESULT β€” RESULT is REAL. If INFO is 2 or less, the value computed by the test described above. If INFO=3, this will just be 1/ulp.
  • INFO β€” INFO is INTEGER.
    • =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 as INFO=2, but s and w could 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