TESTING/EIG/sbdt05.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

🌸 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 matrices A and U.
  • N β€” INTEGER. the number of columns of the matrices A and VT.
  • A β€” REAL array, dimension (LDA,N). the m by n matrix A.
  • LDA β€” INTEGER. the leading dimension of the array A. constraint: LDA >= max(1,M).
  • S β€” REAL array, dimension (NS). the singular values from the (partial) SVD of B, sorted in decreasing order.
  • NS β€” INTEGER. the number of singular values/vectors from the (partial) SVD of B.
  • U β€” REAL array, dimension (LDU,NS). the n by ns orthogonal matrix U in S = U' * B * V.
  • LDU β€” INTEGER. the leading dimension of the array U. constraint: LDU >= max(1,N).
  • VT β€” REAL array, dimension (LDVT,N). the n by ns orthogonal matrix V in S = U' * B * V.
  • LDVT β€” INTEGER. the leading dimension of the array VT.
  • 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