SLASV2(3)
okay so this is SLASV2(3), and yes bestie, it lives in the Library Functions Manual π β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slasv2.f
That's the source file, no cap. π«Ά
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine SLASV2 (f, g, h, ssmin, ssmax, snr, csr, snl, csl)
SLASV2 computes the singular value decomposition of a 2-by-2 triangular matrix. iconic behavior honestly ππ
π Function/Subroutine Documentation π
subroutine SLASV2 (real f, real g, real h, real ssmin, real ssmax, real snr, real csr, real snl, real csl)
SLASV2 computes the singular value decomposition of a 2-by-2 triangular matrix. periodt. β¨
π Purpose π
okay so the whole point is this: SLASV2 computes the singular value decomposition of a 2-by-2 triangular matrix
[ F G ]
[ 0 H ].
On return, abs(SSMAX) is the larger singular value, abs(SSMIN) is the smaller singular value, and (CSL,SNL) and (CSR,SNR) are the left and right singular vectors for abs(SSMAX), giving the decomposition
[ CSL SNL ] [ F G ] [ CSR -SNR ] = [ SSMAX 0 ]
[-SNL CSL ] [ 0 H ] [ SNR CSR ] [ 0 SSMIN ].
like, the math is mathing ππ₯
π Parameters π
FisREALβ the(1,1)element of the 2-by-2 matrix.GisREALβ the(1,2)element of the 2-by-2 matrix.HisREALβ the(2,2)element of the 2-by-2 matrix.SSMINisREALβabs(SSMIN)is the smaller singular value.SSMAXisREALβabs(SSMAX)is the larger singular value.SNLisREAL.CSLisREALβ the vector(CSL, SNL)is a unit left singular vector for the singular valueabs(SSMAX).SNRisREAL.CSRisREALβ the vector(CSR, SNR)is a unit right singular vector for the singular valueabs(SSMAX).
π¦ Author π¦
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Further Details π
- Any input parameter may be aliased with any output parameter. yes, really, they can overlap π
- Barring over/underflow and assuming a guard digit in subtraction, all output quantities are correct to within a few units in the last place (ulps).
- In IEEE arithmetic, the code works correctly if one matrix element is infinite. slay πβ¨
- Overflow will not occur unless the largest singular value itself overflows or is within a few ulps of overflow.
- Underflow is harmless if underflow is gradual. Otherwise, results may correspond to a matrix modified by perturbations of size near the underflow threshold. so like, gradual underflow? fine. otherwise? chaotic energy π
Definition at line 135 of file slasv2.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie! Footer sign-off: LAPACK Version 3.12.0 and /home/abui...RC/slasv2.f(3) β that's the source/version energy, and there's no date line up in here, so 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