TESTING/LIN/zqrt01.f(3)

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

🌸 NAME 🌸

TESTING/LIN/zqrt01.f β€” bestie, this is the Library Functions Manual page for the zqrt01 test subroutine in the TESTING/LIN corner of LAPACK. πŸ’…


✨ SYNOPSIS ✨

🧚 Functions/Subroutines 🧚

subroutine zqrt01 (m, n, a, af, q, r, lda, tau, work, lwork, rwork,
     result)
     ZQRT01

That's the main-character signature, no cap. 🫢


πŸ”₯ Function/Subroutine Documentation πŸ”₯

subroutine zqrt01 (integer m, integer n, complex*16, dimension( lda, * ) a,
     complex*16, dimension( lda, * ) af, complex*16, dimension( lda, * ) q,
     complex*16, dimension( lda, * ) r, integer lda, complex*16, dimension( *
     ) tau, complex*16, dimension( lwork ) work, integer lwork, double
     precision, dimension( * ) rwork, double precision, dimension( * )
     result)
     ZQRT01

🎯 Purpose 🎯

Okay so ZQRT01 is literally the vibe check for ZGEQRF, which computes the QR factorization of an m-by-n matrix A. It also partially tests ZUNGQR, which forms the m-by-m orthogonal matrix Q. ✨

Then ZQRT01 compares R with Q'*A, and checks that Q is orthogonal. Iconic behavior, fr fr. πŸ’–

🧾 Parameters 🧾

  • M β€” M is INTEGER; the number of rows of the matrix A. M >= 0. 🌸
  • N β€” N is INTEGER; the number of columns of the matrix A. N >= 0. πŸ¦‹
  • A β€” A is COMPLEX*16 array, dimension (LDA,N); the m-by-n matrix A. πŸ’œ
  • AF β€” AF is COMPLEX*16 array, dimension (LDA,N); details of the QR factorization of A, as returned by ZGEQRF. See ZGEQRF for further details. πŸ”₯
  • Q β€” Q is COMPLEX*16 array, dimension (LDA,M); the m-by-m orthogonal matrix Q. πŸ‘‘
  • R β€” R is COMPLEX*16 array, dimension (LDA,max(M,N)). πŸŽ€
  • LDA β€” LDA is INTEGER; the leading dimension of the arrays A, AF, Q and R. LDA >= max(M,N). πŸ’…
  • TAU β€” TAU is COMPLEX*16 array, dimension (min(M,N)); the scalar factors of the elementary reflectors, as returned by ZGEQRF. ✨
  • WORK β€” WORK is COMPLEX*16 array, dimension (LWORK). 🌈
  • LWORK β€” LWORK is INTEGER; the dimension of the array WORK. ⭐
  • RWORK β€” RWORK is DOUBLE PRECISION array, dimension (M). πŸ“
  • RESULT β€” RESULT is DOUBLE PRECISION array, dimension (2); the test ratios are:
    • RESULT(1) = norm( R - Q'*A ) / ( M * norm(A) * EPS )
    • RESULT(2) = norm( I - Q'*Q ) / ( M * EPS )

πŸ‘‘ Author πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 124 of file zqrt01.f.


🫢 Author 🫢

Generated automatically by Doxygen for LAPACK from the source code.


Sign-off tea: source/version is LAPACK Version 3.12.0, manual page TESTING/LIN/zqrt01.f(3); date? not listed in this footer, so I'm not inventing one, bestie. πŸ’…βœ¨

πŸ“¦ where this page comes from