TESTING/EIG/zbdt05.f(3)

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

Hey bestie 🫢 you're looking at TESTING/EIG/zbdt05.f(3) from the Library Functions Manual. This is the ZBDT05 page, and yes, we're gonna make it make sense. πŸ’–

🌸 NAME 🌸

TESTING/EIG/zbdt05.f

✨ SYNOPSIS ✨

🧚 Functions/Subroutines

       subroutine zbdt05 (m, n, a, lda, s, ns, u, ldu, vt, ldvt, work, resid)
           ZBDT05

πŸ’… Function/Subroutine Documentation πŸ’…

πŸŽ€ Signature πŸŽ€

   subroutine zbdt05 (integer m, integer n, complex*16, dimension( lda, * ) a,
       integer lda, double precision, dimension( * ) s, integer ns, complex*16,
       dimension( * ) u, integer ldu, complex*16, dimension( ldvt, * ) vt,
       integer ldvt, complex*16, dimension( * ) work, double precision resid)
       ZBDT05

πŸ¦‹ Purpose πŸ¦‹

Okay so ZBDT05 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. Slay. πŸ’…

πŸ“ Parameters πŸ“

  • M β€” M is INTEGER. The number of rows of the matrices A and U.
  • N β€” N is INTEGER. The number of columns of the matrices A and VT.
  • A β€” A is COMPLEX*16 array, dimension (LDA,N). The m by n matrix A.
  • LDA β€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,M).
  • S β€” S is DOUBLE PRECISION 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 COMPLEX*16 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 COMPLEX*16 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 COMPLEX*16 array, dimension (M,N).
  • RESID β€” RESID is DOUBLE PRECISION. 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 πŸ”₯

Definition at line 123 of file zbdt05.f.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for LAPACK from the source code.


Okay bestie, the footer says LAPACK Version 3.12.0 and TESTING/EIG/zbdt05.f(3). That's the whole sign-off β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from