TESTING/LIN/zlqt03.f(3)
π NAME π
okay so bestie, this page is for TESTING/LIN/zlqt03.f, and it lives in the Library Functions Manual β section 3 energy, iykyk. Itβs all about the zlqt03 subroutine, no cap.
πΈ SYNOPSIS πΈ
Under Functions/Subroutines, the whole flex is:
subroutine zlqt03 (m, n, k, af, c, cc, q, lda, tau, work, lwork, rwork,
result)
ZLQT03
π¦ Function/Subroutine Documentation π¦
Full signature, bestie β every type and dimension exactly where it belongs:
subroutine zlqt03 (integer m, integer n, integer k, complex*16, dimension(
lda, * ) af, complex*16, dimension( lda, * ) c, complex*16, dimension(
lda, * ) cc, complex*16, dimension( lda, * ) q, integer lda, complex*16,
dimension( * ) tau, complex*16, dimension( lwork ) work, integer lwork,
double precision, dimension( * ) rwork, double precision, dimension( * )
result)
ZLQT03
π Purpose π
ZLQT03 tests ZUNMLQ, which computes Q*C, Q'*C, C*Q or C*Q' β yes, all four, sheβs versatile. π
ZLQT03 compares the results of a call to ZUNMLQ with the results of forming Q explicitly by a call to ZUNGLQ and then performing matrix multiplication by a call to ZGEMM. Two techniques, one very serious test situation π₯
π Parameters π
MβM is INTEGER. 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βN is INTEGER. The order of the orthogonal matrixQ.N >= 0.KβK is INTEGER. The number of elementary reflectors whose product defines the orthogonal matrixQ.N >= K >= 0.AFβAF is COMPLEX*16 array, dimension (LDA,N). Details of the LQ factorization of anm-by-nmatrix, as returned byZGELQF. SeeCGELQFfor further details.CβC is COMPLEX*16 array, dimension (LDA,N).CCβCC is COMPLEX*16 array, dimension (LDA,N).QβQ is COMPLEX*16 array, dimension (LDA,N).LDAβLDA is INTEGER. The leading dimension of the arraysAF,C,CC, andQ.TAUβTAU is COMPLEX*16 array, dimension (min(M,N)). The scalar factors of the elementary reflectors corresponding to the LQ factorization inAF.WORKβWORK is COMPLEX*16 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 DOUBLE PRECISION array, dimension (M).RESULTβRESULT is DOUBLE PRECISION array, dimension (4). The test ratios compare two techniques for multiplying a random matrixCby ann-by-northogonal matrixQ.
And the test ratios are literally:
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 TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
And the source tea: Definition at line 134 of file zlqt03.f.
π Author π
This page was generated automatically by Doxygen for LAPACK from the source code. Cute.
π cute sign-off: footer source/version is LAPACK / Version 3.12.0 / TESTING/LIN/zlqt03.f(3) β and the date slot is giving βno date shown on this page,β bestie π byeee, go be iconic with those tests π«Άβ¨
π¦ 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