ZBDT03(3)
π ZBDT03(3) β Library Functions Manual energy π
okay so bestie, this is the zbdt03.f(3) page from the Library Functions Manual. It's all about ZBDT03, a subroutine that's lowkey doing SVD reconstruction math and highkey serving. π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/zbdt03.f
π SYNOPSIS π
πΈ Functions/Subroutines πΈ
subroutine ZBDT03 (uplo, n, kd, d, e, u, ldu, s, vt, ldvt, work, resid)
ZBDT03
π¦ Function/Subroutine Documentation π¦
subroutine ZBDT03 (character uplo, integer n, integer kd, double precision,
dimension( * ) d, double precision, dimension( * ) e, complex*16,
dimension( ldu, * ) u, integer ldu, double precision, dimension( * ) s,
complex*16, dimension( ldvt, * ) vt, integer ldvt, complex*16,
dimension( * ) work, double precision resid)
ZBDT03
π Purpose π
ZBDT03 reconstructs a bidiagonal matrix B from its SVD:
S = U' * B * V
where U and V are orthogonal matrices and S is diagonal. Slay.
The test ratio to test 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 vibe check. β¨
π 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βDOUBLE PRECISION array, dimension (N). Thendiagonal elements of the bidiagonal matrixB.EβDOUBLE PRECISION array, dimension (N-1). The(n-1)superdiagonal elements of the bidiagonal matrixBifUPLO = 'U', or the(n-1)subdiagonal elements ofBifUPLO = 'L'.UβCOMPLEX*16 array, dimension (LDU,N). Thenbynorthogonal matrixUin the reductionB = U'*A*P.LDUβINTEGER. The leading dimension of the arrayU.LDU >= max(1,N).SβDOUBLE PRECISION array, dimension (N). The singular values from the SVD ofB, sorted in decreasing order.VTβCOMPLEX*16 array, dimension (LDVT,N). Thenbynorthogonal matrixV'in the reductionB = U * S * V'.LDVTβINTEGER. The leading dimension of the arrayVT.WORKβCOMPLEX*16 array, dimension (2*N).RESIDβDOUBLE PRECISION. The test ratio:norm(B - U * S * V') / ( n * norm(A) * EPS ). Yep, it saysnorm(A)in the parameter text β I'm not touching it, bestie. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 133 of file zbdt03.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie π β signed off by LAPACK Version 3.12.0 and the footer path /home/abui...IG/zbdt03.f(3). That's the source/version and date line, periodt. π
π¦ 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