SRQT01(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… NAME πŸ’…

okay bestie, welcome to the srqt01.f(3) page from the Library Functions Manual πŸ’–. The NAME line is literally this path, no cap:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/srqt01.f

That's it. That's the name. Slay.


✨ SYNOPSIS ✨

🧚 Functions/Subroutines 🧚

the synopsis is giving:

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

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

okay so the full signature, character-for-character, is:

subroutine SRQT01 (integer m, integer n, real, dimension( lda, * ) a, real,
    dimension( lda, * ) af, real, dimension( lda, * ) q, real, dimension(
    lda, * ) r, integer lda, real, dimension( * ) tau, real, dimension(
    lwork ) work, integer lwork, real, dimension( * ) rwork, real,
    dimension( * ) result)

and the routine name stamped on it is SRQT01 ✨.

πŸŽ€ Purpose πŸŽ€

SRQT01 tests SGERQF, which computes the RQ factorization of an m-by-n matrix A, and partially tests SORGRQ which forms the n-by-n orthogonal matrix Q.

SRQT01 compares R with A*Q', and checks that Q is orthogonal. that's the whole vibe check right there πŸ’œ

🌸 Parameters 🌸

  • M β€” M is INTEGER; the number of rows of the matrix A. M >= 0. zero is the floor, bestie πŸ’–
  • N β€” N is INTEGER; the number of columns of the matrix A. N >= 0. again, no negative nonsense ✨
  • A β€” A is REAL array, dimension (LDA,N); the m-by-n matrix A. main character matrix energy πŸ¦‹
  • AF β€” AF is REAL array, dimension (LDA,N); details of the RQ factorization of A, as returned by SGERQF. See SGERQF for further details. iykyk πŸ‘‘
  • Q β€” Q is REAL array, dimension (LDA,N); the n-by-n orthogonal matrix Q. orthogonal icon behavior πŸ’…
  • R β€” R is REAL array, dimension (LDA,max(M,N)). that's the whole description, no extra lore πŸŽ€
  • LDA β€” LDA is INTEGER; the leading dimension of the arrays A, AF, Q and L. LDA >= max(M,N). yes it says L, keep that exactly, iykyk πŸ‘€
  • TAU β€” TAU is REAL array, dimension (min(M,N)); the scalar factors of the elementary reflectors, as returned by SGERQF. reflectors understood the assignment ✨
  • WORK β€” WORK is REAL array, dimension (LWORK). just vibes and workspace πŸ“
  • LWORK β€” LWORK is INTEGER; the dimension of the array WORK. size matters, but only for WORK πŸ’€
  • RWORK β€” RWORK is REAL array, dimension (max(M,N)). real array, real useful 🫢
  • RESULT β€” RESULT is REAL array, dimension (2); the test ratios:
    • RESULT(1) = norm( R - A*Q' ) / ( N * norm(A) * EPS )
    • RESULT(2) = norm( I - Q*Q' ) / ( N * EPS )

these are the numbers that tell you if it slayed or flopped πŸ”₯

LDA warning, bestie: LDA >= max(M,N) β€” do not fudge this, fr fr 😭.

πŸ’œ Author πŸ’œ

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

Definition at line 124 of file srqt01.f.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.


okay that's the whole page, bestie 🫢. Cute sign-off: this is LAPACK Version 3.12.0 and the footer path is /home/abui...IN/srqt01.f(3). Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from