DLQT02(3)
hiii bestie, welcome to DLQT02(3) from the Library Functions Manual π β¨ this is your girl's guide to a tiny but iconic LAPACK test routine. buckle up, it's giving numerical linear algebra with main character energy π
π NAME π
okay so the name situation is literally this whole path, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/dlqt02.f
β¨ SYNOPSIS β¨
under Functions/Subroutines, we have:
subroutine DLQT02 (m, n, k, a, af, q, l, lda, tau, work, lwork, rwork,
result)
DLQT02
π¦ Function/Subroutine Documentation π¦
here's the full signature in all its glory, bestie:
subroutine DLQT02 (integer m, integer n, integer k, double precision,
dimension( lda, * ) a, double precision, dimension( lda, * ) af, double
precision, dimension( lda, * ) q, double precision, dimension( lda, * )
l, integer lda, double precision, dimension( * ) tau, double precision,
dimension( lwork ) work, integer lwork, double precision, dimension( * )
rwork, double precision, dimension( * ) result)
DLQT02
π¦ Purpose π¦
so DLQT02 tests DORGLQ, which generates an m-by-n matrix Q with orthonormal rows that is defined as the product of k elementary reflectors. obsessed with the clarity π
given the LQ factorization of an m-by-n matrix A, DLQT02 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. periodt β¨
πΈ Parameters πΈ
MβM is INTEGER. the number of rows of the matrixQto be generated.M >= 0.NβN is INTEGER. the number of columns of the matrixQto be generated.N >= M >= 0.KβK is INTEGER. the number of elementary reflectors whose product defines the matrixQ.M >= K >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). them-by-nmatrixAwhich was factorized byDLQT01.AFβAF is DOUBLE PRECISION array, dimension (LDA,N). details of the LQ factorization ofA, as returned byDGELQF. seeDGELQFfor further details.QβQ is DOUBLE PRECISION array, dimension (LDA,N).LβL is DOUBLE PRECISION array, dimension (LDA,M).LDAβLDA is INTEGER. the leading dimension of the arraysA,AF,QandL.LDA >= N.TAUβTAU is DOUBLE PRECISION array, dimension (M). the scalar factors of the elementary reflectors corresponding to the LQ factorization inAF.WORKβWORK is DOUBLE PRECISION array, dimension (LWORK).LWORKβLWORK is INTEGER. the dimension of the arrayWORK.RWORKβRWORK is DOUBLE PRECISION array, dimension (M).RESULTβRESULT is DOUBLE PRECISION array, dimension (2). the test ratios are:
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 dlqt02.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. slay π
xoxo, LAPACK π β Version 3.12.0, with the footer path /home/abui...IN/dlqt02.f(3) π«Άβ¨
π¦ 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