TESTING/LIN/sqlt03.f(3)
π TESTING/LIN/sqlt03.f π
okay so bestie, this is the LAPACK manual page for TESTING/LIN/sqlt03.f β a Fortran test subroutine situation, and it's honestly giving βmath girlie runs the vibe check on matrix multiplication.β π§β¨
β¨ NAME β¨
TESTING/LIN/sqlt03.f β the file, the legend, the whole SQLT03 moment. π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine sqlt03 (m, n, k, af, c, cc, q, lda, tau, work, lwork, rwork,
result)
SQLT03
π«Ά Function/Subroutine Documentation π«Ά
subroutine sqlt03 (integer m, integer n, integer k, real, dimension( lda, * ) af, real, dimension( lda, * ) c, real, dimension( lda, * ) cc, real, dimension( lda, * ) q, integer lda, real, dimension( * ) tau, real, dimension( lwork ) work, integer lwork, real, dimension( * ) rwork, real, dimension( * ) result)
SQLT03
π Purpose π
SQLT03 tests SORMQL, which computes Q*C, Q'*C, C*Q or C*Q'. π¦
It compares the results of a call to SORMQL with the results of forming Q explicitly by a call to SORGQL and then performing matrix multiplication by a call to SGEMM. no cap, that's the whole tea. ββ¨
π Parameters π
MβM is INTEGER; the order of the orthogonal matrixQ.M >= 0. πNβN is INTEGER; the number of rows or columns of the matrixC;Cis m-by-n ifQis applied from the left, or n-by-m ifQis applied from the right.N >= 0. πKβK is INTEGER; the number of elementary reflectors whose product defines the orthogonal matrixQ.M >= K >= 0. π«AFβAF is REAL array, dimension (LDA,N); details of the QL factorization of an m-by-n matrix, as returned bySGEQLF. SeeSGEQLFfor further details. πCβC is REAL array, dimension (LDA,N). πCCβCC is REAL array, dimension (LDA,N). πQβQ is REAL array, dimension (LDA,M). πLDAβLDA is INTEGER; the leading dimension of the arraysAF,C,CC, andQ. π₯TAUβTAU is REAL array, dimension (min(M,N)); the scalar factors of the elementary reflectors corresponding to the QL factorization inAF. π¦WORKβWORK is REAL array, dimension (LWORK). β¨LWORKβLWORK is INTEGER; the length ofWORK.LWORKmust be at leastM, and should beM*NB, whereNBis the blocksize for this environment. πRWORKβRWORK is REAL array, dimension (M). πΈRESULTβRESULT is REAL array, dimension (4); the test ratios compare two techniques for multiplying a random matrixCby an m-by-m orthogonal matrixQ. π«Ά
the formulas are exactly these β yes, bestie, literally copy them exactly:
RESULT(1) = norm( Q*C - Q*C ) / ( M * norm(C) * EPS )
RESULT(2) = norm( C*Q - C*Q ) / ( M * norm(C) * EPS )
RESULT(3) = norm( Q'*C - Q'*C )/ ( M * norm(C) * EPS )
RESULT(4) = norm( C*Q' - C*Q' )/ ( M * norm(C) * EPS )
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 134 of file sqlt03.f. πβ¨
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π
xoxo, bestie π β this whole page is LAPACK Version 3.12.0, footer path TESTING/LIN/sqlt03.f(3), and it was generated automatically by Doxygen for LAPACK from the source code. π«Άβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms