SRQT01(3)
π 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 bySGERQF. SeeSGERQFfor 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 saysL, keep that exactly, iykyk πTAUβTAU is REAL array, dimension (min(M,N)); the scalar factors of the elementary reflectors, as returned bySGERQF. 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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms