SRC/dlanv2.f(3)
๐ธ NAME ๐ธ
okay so this is SRC/dlanv2.f(3) from the Library Functions Manual โ the page for SRC/dlanv2.f, aka the dlanv2 subroutine. ๐
โจ SYNOPSIS โจ
๐ ๏ธ Functions/Subroutines
dlanv2โDLANV2computes the Schur factorization of a real 2-by-2 nonsymmetric matrix in standard form.
subroutine dlanv2 (a, b, c, d, rt1r, rt1i, rt2r, rt2i, cs, sn)
๐ Function/Subroutine Documentation ๐
๐ subroutine dlanv2
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. ๐ซถ
๐ฏ Purpose
bestie, hereโs the whole glow-up itโs doing:
[ A B ] = [ CS -SN ] [ AA BB ] [ CS SN ]
[ C D ] [ SN CS ] [ CC DD ] [-SN CS ]
where either
CC = 0so thatAAandDDare real eigenvalues of the matrix, orAA = DDandBB*CC < 0, so thatAA + or - sqrt(BB*CC)are complex conjugate eigenvalues.
๐งฎ Parameters
AโAisDOUBLE PRECISION. ๐ธBโBisDOUBLE PRECISION. ๐ฆCโCisDOUBLE PRECISION. ๐DโDisDOUBLE PRECISION. On entry, the elements of the input matrix. On exit, they are overwritten by the elements of the standardised Schur form. ๐ซRT1RโRT1RisDOUBLE PRECISION. โญRT1IโRT1IisDOUBLE PRECISION. ๐RT2RโRT2RisDOUBLE PRECISION. ๐RT2IโRT2IisDOUBLE PRECISION. The real and imaginary parts of the eigenvalues. If the eigenvalues are a complex conjugate pair,RT1I > 0. ๐ฅCSโCSisDOUBLE PRECISION. ๐SNโSNisDOUBLE PRECISION. Parameters of the rotation matrix. ๐
๐ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ 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). ๐ญโจ
๐ Definition at line
Definition at line 126 of file dlanv2.f.
๐ Author
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, thatโs the whole page โ footer version/date stamp: LAPACK Version 3.12.0, source SRC/dlanv2.f(3). mwah ๐
๐ฆ 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