TESTING/EIG/dsvdch.f(3)
πΈ NAME
TESTING/EIG/dsvdch.f β bestie, this is the Library Functions Manual page for TESTING/EIG/dsvdch.f(3), and itβs all about the DSVDCH routine. Slay β¨
π¦ SYNOPSIS
β¨ Functions/Subroutines
subroutine dsvdch (n, s, e, svd, tol, info)βDSVDCH
π Function/Subroutine Documentation
π subroutine dsvdch
subroutine dsvdch (integer n, double precision, dimension( * ) s, double precision, dimension( * ) e, double precision, dimension( * ) svd, double precision tol, integer info)
DSVDCH
π Purpose
okay so 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 matrixB.SβS is DOUBLE PRECISION array, dimension (N); the diagonal entries of the bidiagonal matrixB.EβE is DOUBLE PRECISION array, dimension (N-1); the superdiagonal entries of the bidiagonal matrixB.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.
okay bestie, thatβs the whole page π footer sign-off: LAPACK, Version 3.12.0, and TESTING/EIG/dsvdch.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