TESTING/LIN/dqrt01.f(3)

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

🌸 TESTING/LIN/dqrt01.f 🌸

Okay bestie, welcome to the Library Functions Manual page for TESTING/LIN/dqrt01.f β€” this one is lowkey a whole Fortran test-routine moment. πŸ’…βœ¨


✨ NAME ✨

TESTING/LIN/dqrt01.f


πŸ’– SYNOPSIS πŸ’–

🧚 Functions/Subroutines 🧚

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

DQRT01


πŸŽ€ Function/Subroutine Documentation πŸŽ€

Here's the full signature, fr fr β€” every type and dimension stays exactly where it lives:

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

DQRT01

πŸ¦‹ Purpose πŸ¦‹

Okay so DQRT01 tests DGEQRF, which computes the QR factorization of an m-by-n matrix A, and partially tests DORGQR which forms the m-by-m orthogonal matrix Q. Iconic behavior. ✨

DQRT01 compares R with Q'*A, and checks that Q is orthogonal. Periodt. πŸ’…

πŸ“ 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 DOUBLE PRECISION array, dimension (LDA,N); the m-by-n matrix A.
  • AF β€” AF is DOUBLE PRECISION array, dimension (LDA,N); details of the QR factorization of A, as returned by DGEQRF. See DGEQRF for further details.
  • Q β€” Q is DOUBLE PRECISION array, dimension (LDA,M); the m-by-m orthogonal matrix Q.
  • R β€” R is DOUBLE PRECISION 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 DOUBLE PRECISION array, dimension (min(M,N)); the scalar factors of the elementary reflectors, as returned by DGEQRF.
  • WORK β€” WORK is DOUBLE PRECISION 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:
    • RESULT(1) = norm( R - Q'*A ) / ( M * norm(A) * EPS )
    • RESULT(2) = norm( I - Q'*Q ) / ( M * EPS )
Highkey important: those RESULT lines are the vibe check for whether the QR stuff is actually behaving. πŸ‘‘

πŸ‘‘ Author πŸ‘‘

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

Definition at line 124 of file dqrt01.f.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.


That's the tea, bestie! Source/version sign-off: LAPACK Version 3.12.0; page label: TESTING/LIN/dqrt01.f(3). Slay and goodbye. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from