TESTING/EIG/sbdt05.f(3)
πΈ NAME πΈ
okay so this is the page for TESTING/EIG/sbdt05.f, bestie β it lives in the Library Functions Manual and itβs all about the LAPACK test routine sbdt05 π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine sbdt05 (m, n, a, lda, s, ns, u, ldu, vt, ldvt, work, resid)
and thatβs the whole synopsis, no cap β¨
π Function/Subroutine Documentation π
the actual documented signature is:
subroutine sbdt05 (integer m, integer n, real, dimension( lda, * ) a,
integer lda, real, dimension( * ) s, integer ns, real, dimension( ldu, *
) u, integer ldu, real, dimension( ldvt, * ) vt, integer ldvt, real,
dimension( * ) work, real resid)
SBDT05 β yes bestie, thatβs the name on the label π
π― Purpose π―
okay so SBDT05 reconstructs a bidiagonal matrix B from its (partial) SVD:
S = U' * B * V
where U and V are orthogonal matrices and S is diagonal.
the test ratio to test the singular value decomposition is:
RESID = norm( S - U' * B * V ) / ( n * norm(B) * EPS )
where VT = V' and EPS is the machine precision. thatβs the whole purpose, periodt π
π§Ύ Parameters π§Ύ
MβINTEGER. the number of rows of the matricesAandU.NβINTEGER. the number of columns of the matricesAandVT.AβREAL array, dimension (LDA,N). thembynmatrixA.LDAβINTEGER. the leading dimension of the arrayA. constraint:LDA >= max(1,M).SβREAL array, dimension (NS). the singular values from the (partial) SVD ofB, sorted in decreasing order.NSβINTEGER. the number of singular values/vectors from the (partial) SVD ofB.UβREAL array, dimension (LDU,NS). thenbynsorthogonal matrixUinS = U' * B * V.LDUβINTEGER. the leading dimension of the arrayU. constraint:LDU >= max(1,N).VTβREAL array, dimension (LDVT,N). thenbynsorthogonal matrixVinS = U' * B * V.LDVTβINTEGER. the leading dimension of the arrayVT.WORKβREAL array, dimension (M,N).RESIDβREAL. the test ratio:norm(S - U' * A * V) / ( n * norm(A) * EPS ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 125 of file sbdt05.f.
πͺ Author (the auto-generated one) πͺ
Generated automatically by Doxygen for LAPACK from the source code.
π thatβs a wrap, bestie β this is TESTING/EIG/sbdt05.f(3) from LAPACK Version 3.12.0. bye! π
π¦ 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