DSVDCH(3)
π DSVDCH(3) π
Bestie, welcome to DSVDCH(3) β it lives in the Library Functions Manual, and the header path is /home/abui...IG/dsvdch.f(3). Buckle up, we're doing singular-value vibe checks. π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/dsvdch.f
That absolute unit of a path is the NAME, no cap.
β¨ SYNOPSIS β¨
Functions/Subroutines
Quick signature, exactly as the page gives it:
subroutine DSVDCH (n, s, e, svd, tol, info)
DSVDCH
π¦ Function/Subroutine Documentation π¦
subroutine DSVDCH (integer n, double precision, dimension( * ) s, double precision, dimension( * ) e, double precision, dimension( * ) svd, double precision tol, integer info)
The star of the show is DSVDCH.
Purpose
Here's the tea, bestie: DSVDCH checks to see if 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 an 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 DSVDCT). Here EPS=TOL*MAX(N/10,1)*MAZHEP, where MACHEP is the machine precision. 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.
Parameters
N
N is INTEGER β The dimension of the bidiagonal matrix B.
S
S is DOUBLE PRECISION array, dimension (N) β The diagonal entries of the bidiagonal matrix B.
E
E is DOUBLE PRECISION array, dimension (N-1) β The superdiagonal entries of the bidiagonal matrix B.
SVD
SVD is DOUBLE PRECISION array, dimension (N) β The computed singular values to be checked.
TOL
TOL is DOUBLE PRECISION β Error tolerance for checking, a multiplier of the machine precision.
INFO
INFO is INTEGER
=0if the singular values are all correct (to within1 +- TOL*MAZHEPS)>0if the interval containing theINFO-th singular value contains the incorrect number of singular values.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 96 of file dsvdch.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
Footer sign-off, bestie: LAPACK Version 3.12.0 β /home/abui...IG/dsvdch.f(3). That's the source/version and file path from the footer; no date is listed there, so I'm not making one up. π«Άβ¨
π¦ 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