DRQT02(3)
π DRQT02(3) β Library Functions Manual π
okay so bestie, welcome to the Library Functions Manual corner where we're talking about DRQT02(3), and I promise this is gonna be way less cursed than it looks. π«Ά
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/drqt02.f β that's the file this page is serving, periodt. It's a Fortran source file in the LAPACK testing lineup. π
π¦ SYNOPSIS π¦
β¨ Functions/Subroutines β¨
subroutine DRQT02 (m, n, k, a, af, q, r, lda, tau, work, lwork, rwork,
result)
DRQT02
π Function/Subroutine Documentation π
Here's the whole argument squad in all its glory:
subroutine DRQT02 (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, * )
r, integer lda, double precision, dimension( * ) tau, double precision,
dimension( lwork ) work, integer lwork, double precision, dimension( * )
rwork, double precision, dimension( * ) result)
DRQT02
β¨ Purpose β¨
okay so the purpose is literally this: DRQT02 is the test bestie for DORGRQ. DORGRQ generates an m-by-n matrix Q with orthonormal rows, and that Q is defined as the product of k elementary reflectors. π«Ά
Now, given the RQ factorization of an m-by-n matrix A, DRQT02 generates the orthogonal matrix Q defined by the factorization of the last k rows of A. Then it compares R(m-k+1:m,n-m+1:n) with A(m-k+1:m,1:n)*Q(n-m+1:n,1:n)', and it checks that the rows of Q are orthonormal. That's the whole slay. β¨
π§Έ Parameters π§Έ
Every parameter is here, no skips, no cap:
MβINTEGER. The number of rows of the matrixQto be generated.M >= 0.NβINTEGER. The number of columns of the matrixQto be generated.N >= M >= 0.KβINTEGER. The number of elementary reflectors whose product defines the matrixQ.M >= K >= 0.AβDOUBLE PRECISION array, dimension (LDA,N). Them-by-nmatrixAwhich was factorized byDRQT01.AFβDOUBLE PRECISION array, dimension (LDA,N). Details of the RQ factorization ofA, as returned byDGERQF. SeeDGERQFfor further details.QβDOUBLE PRECISION array, dimension (LDA,N).RβDOUBLE PRECISION array, dimension (LDA,M).LDAβINTEGER. The leading dimension of the arraysA,AF,QandL.LDA >= N.TAUβDOUBLE PRECISION array, dimension (M). The scalar factors of the elementary reflectors corresponding to the RQ factorization inAF.WORKβDOUBLE PRECISION array, dimension (LWORK).LWORKβINTEGER. The dimension of the arrayWORK.RWORKβDOUBLE PRECISION array, dimension (M).RESULTβDOUBLE PRECISION array, dimension (2). The test ratios:RESULT(1) = norm( R - 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 134 of file drqt02.f.
π Author π (the auto-generated one)
Generated automatically by Doxygen for LAPACK from the source code.
mwah π
this page was auto-generated by Doxygen for LAPACK from the source code, and the footer info is LAPACK Version 3.12.0 plus the file path /home/abui...IN/drqt02.f(3). Byeee, go test those orthonormal rows π«Άβ¨
π¦ 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