SBDT03(3)
π SBDT03(3) π
okay so bestie, this is the Library Functions Manual page for SBDT03(3), and the manual name it's filed under near the top is literally the path to the source file. The vibe is very "LAPACK test routine, but make it cute." No cap. β¨
πΈ NAME πΈ
The NAME line is this exact source path:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/sbdt03.f
That's it β that's the name. Iconic file path energy. π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine SBDT03 (uplo, n, kd, d, e, u, ldu, s, vt, ldvt, work, resid)
SBDT03
π¦ Function/Subroutine Documentation π¦
Here's the full signature, copied exactly because bestie we do not mess with Fortran:
subroutine SBDT03 (character uplo, integer n, integer kd, real, dimension( *
) d, real, dimension( * ) e, real, dimension( ldu, * ) u, integer ldu,
real, dimension( * ) s, real, dimension( ldvt, * ) vt, integer ldvt,
real, dimension( * ) work, real resid)
SBDT03
β¨ Purpose β¨
SBDT03 reconstructs a bidiagonal matrix B from its SVD:
S = U' * B * V
where U and V are orthogonal matrices and S is diagonal. The test ratio that checks the singular value decomposition is:
RESID = norm( B - U * S * VT ) / ( n * norm(B) * EPS )
where VT = V' and EPS is the machine precision. That's the whole purpose, and it ate. π
π Parameters π
UPLOβCHARACTER*1. Specifies whether the matrixBis upper or lower bidiagonal.= 'U': Upper bidiagonal= 'L': Lower bidiagonal
NβINTEGER. The order of the matrixB.KDβINTEGER. The bandwidth of the bidiagonal matrixB. IfKD = 1, the matrixBis bidiagonal, and ifKD = 0,Bis diagonal andEis not referenced. IfKDis greater than 1, it is assumed to be 1, and ifKDis less than 0, it is assumed to be 0.DβREAL array, dimension (N). Thendiagonal elements of the bidiagonal matrixB.EβREAL array, dimension (N-1). The(n-1)superdiagonal elements of the bidiagonal matrixBifUPLO = 'U', or the(n-1)subdiagonal elements ofBifUPLO = 'L'.UβREAL array, dimension (LDU,N). Thenbynorthogonal matrixUin the reductionB = U'*A*P.LDUβINTEGER. The leading dimension of the arrayU.LDU >= max(1,N).SβREAL array, dimension (N). The singular values from the SVD ofB, sorted in decreasing order.VTβREAL array, dimension (LDVT,N). Thenbynorthogonal matrixV'in the reductionB = U * S * V'.LDVTβINTEGER. The leading dimension of the arrayVT.WORKβREAL array, dimension (2*N).RESIDβREAL. The test ratio:norm(B - U * S * V') / ( n * norm(A) * EPS ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 133 of file sbdt03.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π cute sign-off: the footer is giving LAPACK version 3.12.0 and the path /home/abui...IG/sbdt03.f(3) β no date listed, just version-and-path energy. mwah π
π¦ 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