DRQT03(3)
π
drqt03(3) β like, the LAPACK tester for DORMRQ, bestie
okay so first things first: this page lives in the Library Functions Manual (the <italic>drqt03.f(3)</italic> one, from the whole /home/abui...IN/drqt03.f(3) situation) and it's literally all about a Fortran subroutine that checks whether DORMRQ is doing its job. yes queen, quality assurance β¨
β¨ SYNOPSIS β¨
Functions/Subroutines π«Ά
subroutine DRQT03 (m, n, k, af, c, cc, q, lda, tau, work, lwork, rwork,
result)
DRQT03 β that's the whole name, no cap π
π 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 πΈ
ok so picture this: DRQT03 tests DORMRQ, which computes Q*C, Q'*C, C*Q or C*Q'. that's it, that's the vibe.
and how does it do the vibe check? 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. two techniques, one winner, we love a head-to-head ππ₯
π¦ Parameters π¦
- M β
MisINTEGER. it's 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. bestie it literally cannot be negative π - N β
NisINTEGER. the order of the orthogonal matrixQ.N >= 0. again, zero is fine, negative is not β¨ - K β
KisINTEGER. the number of elementary reflectors whose product defines the orthogonal matrixQ.N >= K >= 0. it's sandwiched, she's contained, periodt π - AF β
AFisDOUBLE PRECISIONarray, dimension(LDA,N). details of the RQ factorization of anm-by-nmatrix, as returned byDGERQF. SeeSGERQFfor further details. iykyk π§ - C β
CisDOUBLE PRECISIONarray, dimension(LDA,N). yes. that's the whole description. she's mysterious, she's iconic π - CC β
CCisDOUBLE PRECISIONarray, dimension(LDA,N). same energy, different name π - Q β
QisDOUBLE PRECISIONarray, dimension(LDA,N). the main character herself π - LDA β
LDAisINTEGER. the leading dimension of the arraysAF,C,CC, andQ. one number to rule all four arrays fr fr - TAU β
TAUisDOUBLE PRECISIONarray, dimension(min(M,N)). the scalar factors of the elementary reflectors corresponding to the RQ factorization inAF. the little guys behind the scenes π - WORK β
WORKisDOUBLE PRECISIONarray, dimension(LWORK). the workspace. she works π - LWORK β
LWORKisINTEGER. the length ofWORK.LWORKmust be at leastM, and should beM*NB, whereNBis the blocksize for this environment. yes, "must" and "should" are different words, don't come for me π - RWORK β
RWORKisDOUBLE PRECISIONarray, dimension(M). okay so there'sWORKand there'sRWORKand you need both π«Ά - RESULT β
RESULTisDOUBLE PRECISIONarray, dimension(4). the test ratios compare two techniques for multiplying a random matrixCby ann-by-northogonal matrixQ. like, the receipts:
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 π
the whole squad behind this one:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 134 of file drqt03.f. go look, she's right there π
ngl this whole page was generated automatically by Doxygen for LAPACK from the source code. so if something reads weird, blame the robot, not me π€π
and that's the tea, bestie β LAPACK, Version 3.12.0, dated /home/abui...IN/drqt03.f(3). mwah, slay, go test some matrices πβ¨ππ¦
π¦ 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