SRC/dlae2.f(3)
π
SRC/dlae2.f(3)
okay bestie, welcome to the Library Functions Manual page for SRC/dlae2.f β this is the one about computing eigenvalues of a 2-by-2 symmetric matrix, and it is lowkey iconic β¨
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines
subroutine dlae2 (a, b, c, rt1, rt2)
DLAE2 computes the eigenvalues of a 2-by-2 symmetric matrix.
π Function/Subroutine Documentation π
subroutine dlae2 (double precision a, double precision b, double precision c, double precision rt1, double precision rt2)
DLAE2 computes the eigenvalues of a 2-by-2 symmetric matrix. periodt π
πΈ Purpose πΈ
okay so DLAE2 computes the eigenvalues of this 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. no cap π«Ά
π¦ Parameters π¦
AβDOUBLE PRECISION; the(1,1)element of the 2-by-2 matrix. slay.BβDOUBLE PRECISION; the(1,2)and(2,1)elements of the 2-by-2 matrix.CβDOUBLE PRECISION; the(2,2)element of the 2-by-2 matrix.RT1βDOUBLE PRECISION; the eigenvalue of larger absolute value.RT2βDOUBLE PRECISION; the eigenvalue of smaller absolute value.
π Author π
- 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 of 5 of overflow. - Underflow is harmless if the input data is
0or exceedsunderflow_threshold / macheps.
Definition at line 101 of file dlae2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π thatβs the whole page, bestie β source/version is LAPACK Version 3.12.0, and the page is SRC/dlae2.f(3); the footer doesnβt show a date, so no date to report π«Άβ¨
π¦ 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