SSVDCH(3)
π SSVDCH(3) π
Okay bestie, welcome to the Library Functions Manual corner of the internet β this page is all about SSVDCH, and we're gonna make it make sense. π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/ssvdch.f
That's the exact path this page is filed under, and yes it's long enough to need its own vibe check. π«Ά
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine SSVDCH (n, s, e, svd, tol, info)
SSVDCH
Short, iconic, to the point.
π¦ Function/Subroutine Documentation π¦
subroutine SSVDCH (integer n, real, dimension( * ) s, real, dimension( * )
e, real, dimension( * ) svd, real tol, integer info)
SSVDCH
π― Purpose π―
Okay so the whole point, no cap: SSVDCH checks whether SVD(1) ,..., SVD(N) are accurate singular values of the bidiagonal matrix B with diagonal entries S(1) ,..., S(N) and superdiagonal entries E(1) ,..., E(N-1)).
It does this by expanding each SVD(I) into the interval [SVD(I) * (1-EPS) , SVD(I) * (1+EPS)], merging overlapping intervals if any, and using Sturm sequences to count and verify whether each resulting interval has the correct number of singular values (using SSVDCT).
Here's the formula tea: EPS=TOL*MAX(N/10,1)*MACHEP, where MACHEP is the machine precision. Write that down bestie, it's important. π
The routine assumes the singular values are sorted with SVD(1) the largest and SVD(N) smallest.
If each interval contains the correct number of singular values, INFO = 0 is returned. Otherwise INFO is the index of the first singular value in the first bad interval. So INFO is literally pointing at the first spot that failed the vibe check. π
π Parameters π
NβNisINTEGER. The dimension of the bidiagonal matrixB.SβSisREAL array, dimension (N). The diagonal entries of the bidiagonal matrixB.EβEisREAL array, dimension (N-1). The superdiagonal entries of the bidiagonal matrixB.SVDβSVDisREAL array, dimension (N). The computed singular values to be checked.TOLβTOLisREAL. Error tolerance for checking, a multiplier of the machine precision.INFOβINFOisINTEGER.=0if the singular values are all correct (to within1 +- TOL*MACHEPS).>0if the interval containing theINFO-th singular value contains the incorrect number of singular values.
That MACHEPS spelling in the INFO bit is exactly what the page says, so we're keeping it, iykyk. β¨
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 96 of file ssvdch.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Okay that's the whole page, bestie β every parameter, formula, author credit, and tiny detail accounted for. π
Cutest possible sign-off: this footer is serving LAPACK Version 3.12.0, path /home/abui...IG/ssvdch.f(3), and that's the whole footer vibe β signed, sealed, slayed. π«Ά
π¦ 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