TESTING/LIN/cqlt02.f(3)
πΈ NAME πΈ
okay so this page is the iconic TESTING/LIN/cqlt02.f entry from the Library Functions Manual β and yes bestie, it's giving serious LAPACK test-routine energy. π¦β¨
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine cqlt02 (m, n, k, a, af, q, l, lda, tau, work, lwork, rwork, result)βCQLT02
π Function/Subroutine Documentation π
π«Ά subroutine cqlt02 π«Ά
subroutine cqlt02 (integer m, integer n, integer k, complex, dimension( lda,
* ) a, complex, dimension( lda, * ) af, complex, dimension( lda, * ) q,
complex, dimension( lda, * ) l, integer lda, complex, dimension( * )
tau, complex, dimension( lwork ) work, integer lwork, real, dimension( *
) rwork, real, dimension( * ) result)
CQLT02
π Purpose π
okay so CQLT02 tests CUNGQL, which generates an m-by-n matrix Q with orthonormal columns that is defined as the product of k elementary reflectors. π
Given the QL factorization of an m-by-n matrix A, CQLT02 generates the orthogonal matrix Q defined by the factorization of the last k columns of A; it compares L(m-n+1:m,n-k+1:n) with Q(1:m,m-n+1:m)'*A(1:m,n-k+1:n), and checks that the columns of Q are orthonormal. periodt. π₯
π Parameters π
MβM is INTEGER. It's the number of rows of the matrixQto be generated, and it has to satisfyM >= 0. π«ΆNβN is INTEGER. It's the number of columns of the matrixQto be generated, withM >= N >= 0. πΈKβK is INTEGER. It's the number of elementary reflectors whose product defines the matrixQ, andN >= K >= 0. β¨AβA is COMPLEX array, dimension (LDA,N). It's them-by-nmatrixAwhich was factorized byCQLT01. πAFβAF is COMPLEX array, dimension (LDA,N). It holds details of the QL factorization ofA, as returned byCGEQLF. SeeCGEQLFfor further details. π¦QβQ is COMPLEX array, dimension (LDA,N). πLβL is COMPLEX array, dimension (LDA,N). πLDAβLDA is INTEGER. It's the leading dimension of the arraysA,AF,QandL, andLDA >= M. πTAUβTAU is COMPLEX array, dimension (N). It holds the scalar factors of the elementary reflectors corresponding to the QL factorization inAF. πWORKβWORK is COMPLEX array, dimension (LWORK). βLWORKβLWORK is INTEGER. It's the dimension of the arrayWORK. πRWORKβRWORK is REAL array, dimension (M). πRESULTβRESULT is REAL array, dimension (2). It holds the test ratios:RESULT(1) = norm( L - 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 134 of file cqlt02.f. πβ¨
π and that's the whole page, bestie β generated automatically by Doxygen for LAPACK from the source code. It's from LAPACK Version 3.12.0, and this absolute manual-page main character is TESTING/LIN/cqlt02.f(3). slay and goodbye π
π«Ά
π¦ 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