SRC/slae2.f(3)
π
SRC/slae2.f(3) β the Library Functions Manual moment β¨
okay bestie, welcome to the SRC/slae2.f(3) page. sheβs giving classic LAPACK, sheβs giving eigenvalues, and sheβs absolutely not gatekeeping. π«Ά
πΈ NAME πΈ
SRC/slae2.f β thatβs the name, and yes, sheβs iconic. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines
subroutine slae2 (a, b, c, rt1, rt2)
SLAE2 computes the eigenvalues of a 2-by-2 symmetric matrix. no cap, thatβs the whole slay. π₯
π¦ Function/Subroutine Documentation π¦
subroutine slae2 (real a, real b, real c, real rt1, real rt2)
SLAE2 computes the eigenvalues of a 2-by-2 symmetric matrix. weβre so back. π
π Purpose
SLAE2 computes the eigenvalues of a 2-by-2 symmetric matrix:
[ A B ]
[ B C ].
On return, RT1 is the eigenvalue of larger absolute value, and RT2 is the eigenvalue of smaller absolute value. periodt. π
π Parameters
AβAisREAL. itβs the(1,1)element of the 2-by-2 matrix. π«ΆBβBisREAL. itβs the(1,2)and(2,1)elements of the 2-by-2 matrix. β¨CβCisREAL. itβs the(2,2)element of the 2-by-2 matrix. πΈRT1βRT1isREAL. itβs the eigenvalue of larger absolute value. πRT2βRT2isREAL. itβs the eigenvalue of smaller absolute value. π
πΈ Author
the author squad is:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details
RT1is accurate to a few ulps barring over/underflow. β¨RT2may be inaccurate if there is massive cancellation in the determinantA*C-B*B; higher precision or correctly rounded or correctly truncated arithmetic would be needed to computeRT2accurately in all cases. π- Overflow is possible only if
RT1is within a factor of5of overflow. π - Underflow is harmless if the input data is
0or exceedsunderflow_threshold / macheps. π«Ά
π Definition at line 101 of file slae2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€ (robot-made, but the vibes are still immaculate.)
sign-off from LAPACK, Version 3.12.0, on SRC/slae2.f(3) β thatβs the footer, bestie. bye! πβ¨
π¦ 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