TESTING/LIN/drqt03.f(3)
πΈ TESTING/LIN/drqt03.f(3) πΈ
okay bestie, this page comes from the Library Functions Manual, and itβs the whole lore on drqt03 β a LAPACK testing routine that is very much giving βtrust me, I checked the mathβ energy. π
β¨
β¨ SYNOPSIS β¨
β¨ Functions/Subroutines β¨
subroutine drqt03 (m, n, k, af, c, cc, q, lda, tau, work, lwork, rwork, result)βDRQT03
π¦ Function/Subroutine Documentation π¦
subroutine drqt03 (integer m, integer n, integer k, double precision, dimension( lda, * ) af, double precision, dimension( lda, * ) c, double precision, dimension( lda, * ) cc, double precision, dimension( lda, * ) q, integer lda, double precision, dimension( * ) tau, double precision, dimension( lwork ) work, integer lwork, double precision, dimension( * ) rwork, double precision, dimension( * ) result)
DRQT03
π Purpose π
DRQT03 tests DORMRQ, which computes Q*C, Q'*C, C*Q or C*Q'. Itβs the vibe-check routine for matrix multiplication with Q. π«Ά
DRQT03 compares the results of a call to DORMRQ with the results of forming Q explicitly by a call to DORGRQ and then performing matrix multiplication by a call to DGEMM. So yeah, itβs basically βdid DORMRQ do the thing right, or do we need to compare notes with the explicit route?β ππ₯
π Parameters π
MβMisINTEGER. The number of rows or columns of the matrixC;Cisn-by-mifQis applied from the left, orm-by-nifQis applied from the right.M >= 0.NβNisINTEGER. The order of the orthogonal matrixQ.N >= 0.KβKisINTEGER. The number of elementary reflectors whose product defines the orthogonal matrixQ.N >= K >= 0.AFβAFisDOUBLE PRECISIONarray, dimension(LDA,N). Details of the RQ factorization of anm-by-nmatrix, as returned byDGERQF. SeeSGERQFfor further details.CβCisDOUBLE PRECISIONarray, dimension(LDA,N).CCβCCisDOUBLE PRECISIONarray, dimension(LDA,N).QβQisDOUBLE PRECISIONarray, dimension(LDA,N).LDAβLDAisINTEGER. The leading dimension of the arraysAF,C,CC, andQ.TAUβTAUisDOUBLE PRECISIONarray, dimension(min(M,N)). The scalar factors of the elementary reflectors corresponding to the RQ factorization inAF.WORKβWORKisDOUBLE PRECISIONarray, dimension(LWORK).LWORKβLWORKisINTEGER. The length ofWORK.LWORKmust be at leastM, and should beM*NB, whereNBis the blocksize for this environment.RWORKβRWORKisDOUBLE PRECISIONarray, dimension(M).RESULTβRESULTisDOUBLE PRECISIONarray, dimension(4). The test ratios compare two techniques for multiplying a random matrixCby ann-by-northogonal matrixQ.
RESULT(1) = norm( Q*C - Q*C ) / ( N * norm(C) * EPS )
RESULT(2) = norm( C*Q - C*Q ) / ( N * norm(C) * EPS )
RESULT(3) = norm( Q'*C - Q'*C )/ ( N * norm(C) * EPS )
RESULT(4) = norm( C*Q' - C*Q' )/ ( N * norm(C) * EPS )
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 134 of file drqt03.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
thatβs the whole page, bestie β from LAPACK Version 3.12.0, page TESTING/LIN/drqt03.f(3). The footer doesnβt give a separate date, so weβre not inventing one; Doxygen just auto-made this cutie 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