DBDT04(3)
π DBDT04(3) Β· Library Functions Manual
Hi bestie! This page is dbdt04.f(3) from the Library Functions Manual β the header path gets shortened to /home/abui...IG/dbdt04.f(3) β and it's all about the LAPACK test routine DBDT04. π
πΈ NAME
The NAME is literally this whole path, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/dbdt04.f
β¨ SYNOPSIS
Functions/Subroutines
subroutine DBDT04 (uplo, n, d, e, s, ns, u, ldu, vt, ldvt, work, resid)
DBDT04
π«Ά Function/Subroutine Documentation
Okay so here's the full signature, exactly as this test routine declares it β no edits, periodt:
subroutine DBDT04 (character uplo, integer n, double precision, dimension( *
) d, double precision, dimension( * ) e, double precision, dimension( *
) s, integer ns, double precision, dimension( ldu, * ) u, integer ldu,
double precision, dimension( ldvt, * ) vt, integer ldvt, double
precision, dimension( * ) work, double precision resid)
DBDT04
π Purpose
DBDT04 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 that checks 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 vibe: compare S against U' * B * V, then scale by n, norm(B), and EPS. π
π Parameters
Every argument, bestie β in order, no skipping:
UPLOβCHARACTER*1. Says whether the matrixBis upper or lower bidiagonal.= 'U': upper bidiagonal.= 'L': lower bidiagonal.NβINTEGER. The order of the matrixB.DβDOUBLE PRECISION array, dimension (N). Thendiagonal elements of the bidiagonal matrixB.EβDOUBLE PRECISION array, dimension (N-1). The(n-1)superdiagonal elements ofBifUPLO = 'U', or the(n-1)subdiagonal elements ofBifUPLO = 'L'.SβDOUBLE PRECISION 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βDOUBLE PRECISION array, dimension (LDU,NS). Thenbynsorthogonal matrixUinS = U' * B * V.LDUβINTEGER. The leading dimension of the arrayU.LDU >= max(1,N).VTβDOUBLE PRECISION array, dimension (LDVT,N). Thenbynsorthogonal matrixVinS = U' * B * V.LDVTβINTEGER. The leading dimension of the arrayVT.WORKβDOUBLE PRECISION array, dimension (2*N).RESIDβDOUBLE PRECISION. The test ratio:norm(S - U' * B * V) / ( n * norm(B) * EPS ).
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 129 of file dbdt04.f.
Yep, that's where this icon lives: line 129 of dbdt04.f. π¦
π€ Author
Generated automatically by Doxygen for LAPACK from the source code.
Bye bestie π This page is from LAPACK Version 3.12.0, source/page path /home/abui...IG/dbdt04.f(3). The footer doesn't give a separate date, so I'm not making one up β 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