CLAESY(3)
okay so bestie, this is the claesy.f(3) page from the Library Functions Manual β and it's literally about a tiny 2-by-2 complex symmetric matrix glow-up β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/claesy.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine CLAESY (a, b, c, rt1, rt2, evscal, cs1, sn1)β our main character π .CLAESYcomputes the eigenvalues and eigenvectors of a 2-by-2 complex symmetric matrix.
π«Ά Function/Subroutine Documentation π«Ά
subroutine CLAESY (complex a, complex b, complex c, complex rt1, complex rt2, complex evscal, complex cs1, complex sn1)
CLAESY computes the eigenvalues and eigenvectors of a 2-by-2 complex symmetric matrix.
π Purpose π
okay so CLAESY does the eigendecomposition of a 2-by-2 symmetric matrix
( ( A, B );( B, C ) )
but only when the norm of the matrix of eigenvectors is larger than some threshold value π.
RT1 is the eigenvalue of larger absolute value, and RT2 is the one with smaller absolute value. If the eigenvectors are computed, then on return ( CS1, SN1 ) is the unit eigenvector for RT1, hence:
!> [ CS1 SN1 ] . [ A B ] . [ CS1 -SN1 ] = [ RT1 0 ]
!> [ -SN1 CS1 ] [ B C ] [ SN1 CS1 ] [ 0 RT2 ]
π Parameters π
AβA is COMPLEX. It's the( 1, 1 )element of the input matrix.BβB is COMPLEX. It's the( 1, 2 )element of the input matrix. The( 2, 1 )element is also given byB, because the 2-by-2 matrix is symmetric.CβC is COMPLEX. It's the( 2, 2 )element of the input matrix.RT1βRT1 is COMPLEX. The eigenvalue of larger modulus.RT2βRT2 is COMPLEX. The eigenvalue of smaller modulus.EVSCALβEVSCAL is COMPLEX. The complex value by which the eigenvector matrix was scaled to make it orthonormal. IfEVSCALis zero, the eigenvectors were not computed. This means one of two things: the 2-by-2 matrix could not be diagonalized, or the norm of the matrix of eigenvectors before scaling was larger than the threshold valueTHRESH(set below). πCS1βCS1 is COMPLEX. That's it, bestie β no extra description given.SN1βSN1 is COMPLEX. IfEVSCAL .NE. 0, then( CS1, SN1 )is the unit right eigenvector forRT1.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 114 of file claesy.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie π this whole page is from LAPACK Version 3.12.0, and the footer path is /home/abui...RC/claesy.f(3) β there's no date listed, so no cap, we're not inventing one π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms