TESTING/LIN/clqt02.f(3)
okay so bestie, welcome to the TESTING/LIN/clqt02.f(3) page from the Library Functions Manual β itβs giving LAPACK testing energy and itβs all about clqt02. π
πΈ NAME πΈ
TESTING/LIN/clqt02.f β thatβs the manual page name, and the star of the show is the clqt02 subroutine. Periodt. β¨
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine clqt02 (m, n, k, a, af, q, l, lda, tau, work, lwork, rwork,
result)
CLQT02
π¦ Function/Subroutine Documentation π¦
subroutine clqt02 (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)
CLQT02
π Purpose π
okay so CLQT02 tests CUNGLQ, which generates an m-by-n matrix Q with orthonormal rows, and that Q is defined as the product of k elementary reflectors. no cap. π«Ά
Given the LQ factorization of an m-by-n matrix A, CLQT02 generates the orthogonal matrix Q defined by the factorization of the first k rows of A. It compares L(1:k,1:m) with A(1:k,1:n)*Q(1:m,1:n)', and checks that the rows of Q are orthonormal. π
π Parameters π
MβMisINTEGER. Itβs the number of rows of the matrixQto be generated. Constraint:M >= 0. πΈNβNisINTEGER. Itβs the number of columns of the matrixQto be generated. Constraint:N >= M >= 0.KβKisINTEGER. Itβs the number of elementary reflectors whose product defines the matrixQ. Constraint:M >= K >= 0.AβAisCOMPLEX array, dimension (LDA,N). Itβs them-by-nmatrixAwhich was factorized byCLQT01.AFβAFisCOMPLEX array, dimension (LDA,N). It holds details of the LQ factorization ofA, as returned byCGELQF. SeeCGELQFfor further details.QβQisCOMPLEX array, dimension (LDA,N).LβLisCOMPLEX array, dimension (LDA,M).LDAβLDAisINTEGER. Itβs the leading dimension of the arraysA,AF,QandL. Constraint:LDA >= N.TAUβTAUisCOMPLEX array, dimension (M). It holds the scalar factors of the elementary reflectors corresponding to the LQ factorization inAF.WORKβWORKisCOMPLEX array, dimension (LWORK).LWORKβLWORKisINTEGER. Itβs the dimension of the arrayWORK.RWORKβRWORKisREAL array, dimension (M).RESULTβRESULTisREAL array, dimension (2). It holds the test ratios:
RESULT(1) = norm( L - A*Q' ) / ( N * norm(A) * EPS )
RESULT(2) = norm( I - Q*Q' ) / ( N * EPS )
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 133 of file clqt02.f. β¨
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
footer vibe check, bestie: this is LAPACK Version 3.12.0 for TESTING/LIN/clqt02.f(3) β and nope, the footer doesnβt give a date line, so Iβm not inventing one. ππ
π¦ 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