SBDT04(3)
π SBDT04(3)
Okay bestie, welcome to SBDT04(3) from the Library Functions Manual β itβs giving LAPACK test-ratio main character energy, and weβre gonna get through it together. π β¨
πΈ NAME
This whole page is about this file, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/sbdt04.f
β¨ SYNOPSIS
Functions/Subroutines
subroutine SBDT04 (uplo, n, d, e, s, ns, u, ldu, vt, ldvt, work, resid)βSBDT04
π« Function/Subroutine Documentation
subroutine SBDT04 (character uplo, integer n, real, dimension( * ) d, real,
dimension( * ) e, real, dimension( * ) s, integer ns, real, dimension(
ldu, * ) u, integer ldu, real, dimension( ldvt, * ) vt, integer ldvt,
real, dimension( * ) work, real resid)
SBDT04
π― Purpose
So SBDT04 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. π«Ά
π§Έ Parameters
UPLO
UPLO is CHARACTER*1 β it specifies whether the matrix B is upper or lower bidiagonal, bestie:
= 'U': Upper bidiagonal= 'L': Lower bidiagonal
N
N is INTEGER β the order of the matrix B. π’
D
D is REAL array, dimension (N) β the n diagonal elements of the bidiagonal matrix B. π
E
E is REAL array, dimension (N-1) β the (n-1) superdiagonal elements of the bidiagonal matrix B if UPLO = 'U', or the (n-1) subdiagonal elements of B if UPLO = 'L'. π
S
S is REAL array, dimension (NS) β the singular values from the (partial) SVD of B, sorted in decreasing order. β
NS
NS is INTEGER β the number of singular values/vectors from the (partial) SVD of B. π₯
U
U is REAL array, dimension (LDU,NS) β the n by ns orthogonal matrix U in S = U' * B * V. π
LDU
LDU is INTEGER β the leading dimension of the array U. LDU >= max(1,N). π
VT
VT is REAL array, dimension (LDVT,N) β the n by ns orthogonal matrix V in S = U' * B * V. π¦
LDVT
LDVT is INTEGER β the leading dimension of the array VT. π
WORK
WORK is REAL array, dimension (2*N). π§
RESID
RESID is REAL β 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 sbdt04.f.
π€ Author
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie β final footer flex: LAPACK, Version 3.12.0, and the path vibe /home/abui...IG/sbdt04.f(3). Byeee π«Άβ¨
π¦ 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