laesy(3)
π laesy(3) β Library Functions Manual π
Okay bestie, welcome to the laesy page. It's giving LAPACK linear algebra, but make it cute. No cap, every detail is staying. π
β¨ NAME β¨
laesy β laesy: 2x2 eig
πΈ SYNOPSIS πΈ
Here are the two functions on deck, bestie:
subroutine claesy (a, b, c, rt1, rt2, evscal, cs1, sn1)βCLAESYcomputes the eigenvalues and eigenvectors of a 2-by-2 complex symmetric matrix.subroutine zlaesy (a, b, c, rt1, rt2, evscal, cs1, sn1)βZLAESYcomputes the eigenvalues and eigenvectors of a 2-by-2 complex symmetric matrix.
π¦ Detailed Description π¦
This is where the function docs live, so buckle up. π
π₯ Function Documentation π₯
π subroutine claesy π
subroutine claesy (complex a, complex b, complex c, complex rt1, complex rt2, complex evscal, complex cs1, complex sn1)
What it does: CLAESY computes the eigenvalues and eigenvectors of a 2-by-2 complex symmetric matrix.
β¨ Purpose β¨
CLAESY computes the eigendecomposition of a 2-by-2 symmetric matrix
( ( A, B );( B, C ) )
provided the norm of the matrix of eigenvectors is larger than some threshold value.
RT1 is the eigenvalue of larger absolute value, and RT2 of 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β the( 1, 1 )element of input matrix.BβB is COMPLEXβ the( 1, 2 )element of input matrix. The( 2, 1 )element is also given byB, since the 2-by-2 matrix is symmetric.CβC is COMPLEXβ the( 2, 2 )element of 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 COMPLEXSN1βSN1 is COMPLEXβ ifEVSCAL .NE. 0,( CS1, SN1 )is the unit right eigenvector forRT1.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition π
Definition at line 114 of file claesy.f.
π subroutine zlaesy π
subroutine zlaesy (complex*16 a, complex*16 b, complex*16 c, complex*16 rt1, complex*16 rt2, complex*16 evscal, complex*16 cs1, complex*16 sn1)
What it does: ZLAESY computes the eigenvalues and eigenvectors of a 2-by-2 complex symmetric matrix.
β¨ Purpose β¨
ZLAESY computes the eigendecomposition of a 2-by-2 symmetric matrix
( ( A, B );( B, C ) )
provided the norm of the matrix of eigenvectors is larger than some threshold value.
RT1 is the eigenvalue of larger absolute value, and RT2 of 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*16β the( 1, 1 )element of input matrix.BβB is COMPLEX*16β the( 1, 2 )element of input matrix. The( 2, 1 )element is also given byB, since the 2-by-2 matrix is symmetric.CβC is COMPLEX*16β the( 2, 2 )element of input matrix.RT1βRT1 is COMPLEX*16β the eigenvalue of larger modulus.RT2βRT2 is COMPLEX*16β the eigenvalue of smaller modulus.EVSCALβEVSCAL is COMPLEX*16β 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*16SN1βSN1 is COMPLEX*16β ifEVSCAL .NE. 0,( CS1, SN1 )is the unit right eigenvector forRT1.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition π
Definition at line 114 of file zlaesy.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Ok bye bestie! π«Ά This was laesy(3), source/version: LAPACK, Version 3.12.0. Date: not listed in this page's footer, so I'm not making one up. It was generated automatically by Doxygen for LAPACK from the source code. Slay. π
β¨
π¦ 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