DLANV2(3)
π NAME π
ok so bestie, this page is literally about /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlanv2.f β that's the file, that's the whole name entry, we move π«Ά (and it's from the Library Functions Manual, iykyk β¨)
β¨ SYNOPSIS β¨
π Functions/Subroutines
subroutine DLANV2 (a, b, c, d, rt1r, rt1i, rt2r, rt2i, cs, sn)β DLANV2 computes the Schur factorization of a real 2-by-2 nonsymmetric matrix in standard form. that's it, that's the girl π
π Function/Subroutine Documentation π
subroutine DLANV2 (double precision a, double precision b, double precision
c, double precision d, double precision rt1r, double precision rt1i,
double precision rt2r, double precision rt2i, double precision cs,
double precision sn)
DLANV2 computes the Schur factorization of a real 2-by-2 nonsymmetric matrix in standard form. no cap, that's literally her whole job πΈ
π Purpose:
!>
!> DLANV2 computes the Schur factorization of a real 2-by-2 nonsymmetric
!> matrix in standard form:
!>
!> [ A B ] = [ CS -SN ] [ AA BB ] [ CS SN ]
!> [ C D ] [ SN CS ] [ CC DD ] [-SN CS ]
!>
!> where either
!> 1) CC = 0 so that AA and DD are real eigenvalues of the matrix, or
!> 2) AA = DD and BB*CC < 0, so that AA + or - sqrt(BB*CC) are complex
!> conjugate eigenvalues.
!>
ok so like β it's giving rotation sandwich π₯ͺ you got the matrix, you got the two rotation matrices hugging it on both sides, and what falls out is either case 1) where CC = 0 and AA and DD slay as real eigenvalues, or case 2) where AA = DD and BB*CC < 0 so AA + or - sqrt(BB*CC) are complex conjugate eigenvalues. both are valid, both are iconic, we don't pick favorites π₯
π¦ Parameters π¦
AβAis DOUBLE PRECISION. that's the whole description bestie, she speaks for herself πBβBis DOUBLE PRECISION. same energy πCβCis DOUBLE PRECISION. yup, still the same vibe πDβDis DOUBLE PRECISION. On entry, the elements of the input matrix. On exit, they are overwritten by the elements of the standardised Schur form. so she comes in as one thing and leaves as another β main character transformation arc, honestly βRT1RβRT1Ris DOUBLE PRECISION. πRT1IβRT1Iis DOUBLE PRECISION. π§RT2RβRT2Ris DOUBLE PRECISION. πRT2IβRT2Iis DOUBLE PRECISION. The real and imaginary parts of the eigenvalues. If the eigenvalues are a complex conjugate pair,RT1I > 0. periodt, that positivity is not optional πCSβCSis DOUBLE PRECISION. π«ΆSNβSNis DOUBLE PRECISION. Parameters of the rotation matrix. the rotation needs her girls and these are them β¨
πΈ Author πΈ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
a whole collab, the group project that actually ate π₯
π Further Details:
!>
!> Modified by V. Sima, Research Institute for Informatics, Bucharest,
!> Romania, to reduce the risk of cancellation errors,
!> when computing real eigenvalues, and to ensure, if possible, that
!> abs(RT1R) >= abs(RT2R).
!>
so V. Sima from the Research Institute for Informatics, Bucharest, Romania, came in and did the work β reduced the risk of cancellation errors when computing real eigenvalues, and made sure, if possible, that abs(RT1R) >= abs(RT2R). note the "if possible" bestie, we're not promising anything, we're just trying our best ππ
Definition at line 126 of file dlanv2.f. go look, it's right there π
β Author β
Generated automatically by Doxygen for LAPACK from the source code. no human wrote this footer, a robot did, and honestly? she served π€π
π cute little sign-off time: this was LAPACK, Version 3.12.0, and the header said /home/abui...RC/dlanv2.f(3) and the footer said the same thing, so likeβ¦ full circle bestie ππ¦ mwah, go factor something π
π¦ 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