CQRT02(3)
๐ CQRT02(3) โ Library Functions Manual ๐
okay so bestie, welcome to the CQRT02(3) page from the Library Functions Manual. This is LAPACK testing-routine energy, and she is here to check on CUNGQR like the responsible icon she is. Lowkey obsessed. โจ
๐ธ NAME ๐ธ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cqrt02.f
That whole source path is the name, no cap. It's giving "I live deep in the LAPACK build tree" and honestly? Respect. ๐ซถ
โจ SYNOPSIS โจ
Functions/Subroutines
subroutine CQRT02 (m, n, k, a, af, q, r, lda, tau, work, lwork, rwork,
result)
CQRT02 โ the subroutine, the moment, the main character. ๐
๐ฆ Function/Subroutine Documentation ๐ฆ
subroutine CQRT02 (integer m, integer n, integer k, complex, dimension( lda,
* ) a, complex, dimension( lda, * ) af, complex, dimension( lda, * ) q,
complex, dimension( lda, * ) r, integer lda, complex, dimension( * )
tau, complex, dimension( lwork ) work, integer lwork, real, dimension( *
) rwork, real, dimension( * ) result)
CQRT02 โ yes, the name again, because she deserves a second entrance. ๐
๐ฏ Purpose
CQRT02 tests CUNGQR, which generates an m-by-n matrix Q with orthonormal columns that is defined as the product of k elementary reflectors. That's the whole assignment, and she ate. ๐ฅ
Given the QR factorization of an m-by-n matrix A, CQRT02 generates the orthogonal matrix Q defined by the factorization of the first k columns of A; it compares R(1:n,1:k) with Q(1:m,1:n)'*A(1:m,1:k), and checks that the columns of Q are orthonormal. Literally the math bestie check-in. ๐งฎโจ
๐งฎ Parameters
MโMisINTEGER. The number of rows of the matrixQto be generated.M >= 0.NโNisINTEGER. The number of columns of the matrixQto be generated.M >= N >= 0.KโKisINTEGER. The number of elementary reflectors whose product defines the matrixQ.N >= K >= 0.AโAisCOMPLEXarray, dimension(LDA,N). Them-by-nmatrixAwhich was factorized byCQRT01.AFโAFisCOMPLEXarray, dimension(LDA,N). Details of the QR factorization ofA, as returned byCGEQRF. SeeCGEQRFfor further details.QโQisCOMPLEXarray, dimension(LDA,N).RโRisCOMPLEXarray, dimension(LDA,N).LDAโLDAisINTEGER. The leading dimension of the arraysA,AF,QandR.LDA >= M.TAUโTAUisCOMPLEXarray, dimension(N). The scalar factors of the elementary reflectors corresponding to the QR factorization inAF.WORKโWORKisCOMPLEXarray, dimension(LWORK).LWORKโLWORKisINTEGER. The dimension of the arrayWORK.RWORKโRWORKisREALarray, dimension(M).RESULTโRESULTisREALarray, dimension(2). The test ratios:RESULT(1) = norm( R - Q'*A ) / ( M * norm(A) * EPS )RESULT(2) = norm( I - Q'*Q ) / ( M * EPS )
๐ Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 133 of file cqrt02.f.
๐ Author ๐
Generated automatically by Doxygen for LAPACK from the source code.
cute sign-off: this page is serving LAPACK Version 3.12.0, with the footer page file /home/abui...IN/cqrt02.f(3). There's no date in the footer, so that's the whole sign-off, bestie โ periodt. ๐๐
๐ฆ 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