DQRT01(3)
πΈ NAME πΈ
DQRT01(3) β Library Functions Manual, but make it cute. The page lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/dqrt01.f. This is the DQRT01 function page, and honestly itβs giving βI test QR factorizations for breakfastβ energy π
.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DQRT01 (m, n, a, af, q, r, lda, tau, work, lwork, rwork, result)βDQRT01
π¦ Function/Subroutine Documentation π¦
subroutine DQRT01
subroutine DQRT01 (integer m, integer n, 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)
DQRT01
π Purpose π
Okay bestie, DQRT01 tests DGEQRF, which computes the QR factorization of an m-by-n matrix A, and it partially tests DORGQR which forms the m-by-m orthogonal matrix Q.
Then DQRT01 compares R with Q'*A, and checks that Q is orthogonal. Thatβs the whole plot: factorize, form Q, compare, and vibe-check the orthogonality β¨.
π Parameters π
MβM is INTEGER. Itβs the number of rows of the matrixA.M >= 0.NβN is INTEGER. Itβs the number of columns of the matrixA.N >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). The m-by-n matrixA.AFβAF is DOUBLE PRECISION array, dimension (LDA,N). Details of the QR factorization ofA, as returned byDGEQRF. SeeDGEQRFfor further details.QβQ is DOUBLE PRECISION array, dimension (LDA,M). The m-by-m orthogonal matrixQ.RβR is DOUBLE PRECISION array, dimension (LDA,max(M,N)).LDAβLDA is INTEGER. The leading dimension of the arraysA,AF,QandR.LDA >= max(M,N).TAUβTAU is DOUBLE PRECISION array, dimension (min(M,N)). The scalar factors of the elementary reflectors, as returned byDGEQRF.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:
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 124 of file dqrt01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Cute footer sign-off: source/version/date tea isLAPACKVersion3.12.0, dated/home/abui...IN/dqrt01.f(3). Bye bestie, go slay that QR test π β¨
π¦ 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