TESTING/LIN/dlqt03.f(3)
π NAME π
TESTING/LIN/dlqt03.f β hiii bestie, this is the TESTING/LIN/dlqt03.f(3) page from the Library Functions Manual, and it's all about the subroutine DLQT03. No cap. π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dlqt03 (m, n, k, af, c, cc, q, lda, tau, work, lwork, rwork,
result)
DLQT03
DLQT03 β that's the subroutine, periodt. π
π§ Function/Subroutine Documentation π§
subroutine dlqt03 (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)
DLQT03 β okay so this is the full signature, and she's long but iconic. π
π― Purpose
okay so DLQT03 tests DORMLQ, which computes Q*C, Q'*C, C*Q or C*Q' β yes bestie, those are the four moods. β¨
DLQT03 compares the results of a call to DORMLQ with the results of forming Q explicitly by a call to DORGLQ and then performing matrix multiplication by a call to DGEMM. It's literally compare-and-contrast but make it matrices. π
π 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 LQ factorization of anm-by-nmatrix, as returned byDGELQF. SeeSGELQFfor further details. πCβCisDOUBLE PRECISIONarray, dimension(LDA,N). That's the whole note, bestie. πCCβCCisDOUBLE PRECISIONarray, dimension(LDA,N). Another simple icon. πQβQisDOUBLE PRECISIONarray, dimension(LDA,N). Main character matrix energy. π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 LQ 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 dlqt03.f. π«Ά
π Author π
Generated automatically by Doxygen for LAPACK from the source code. no cap, the docs robots did their thing. π€π
xoxo, LAPACK Version 3.12.0, sliding in from TESTING/LIN/dlqt03.f(3) π
β¨
π¦ 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