TESTING/LIN/zqrt01.f(3)
πΈ NAME πΈ
TESTING/LIN/zqrt01.f β bestie, this is the Library Functions Manual page for the zqrt01 test subroutine in the TESTING/LIN corner of LAPACK. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine zqrt01 (m, n, a, af, q, r, lda, tau, work, lwork, rwork,
result)
ZQRT01
That's the main-character signature, no cap. π«Ά
π₯ Function/Subroutine Documentation π₯
subroutine zqrt01 (integer m, integer n, complex*16, dimension( lda, * ) a,
complex*16, dimension( lda, * ) af, complex*16, dimension( lda, * ) q,
complex*16, dimension( lda, * ) r, integer lda, complex*16, dimension( *
) tau, complex*16, dimension( lwork ) work, integer lwork, double
precision, dimension( * ) rwork, double precision, dimension( * )
result)
ZQRT01
π― Purpose π―
Okay so ZQRT01 is literally the vibe check for ZGEQRF, which computes the QR factorization of an m-by-n matrix A. It also partially tests ZUNGQR, which forms the m-by-m orthogonal matrix Q. β¨
Then ZQRT01 compares R with Q'*A, and checks that Q is orthogonal. Iconic behavior, fr fr. π
π§Ύ Parameters π§Ύ
MβM is INTEGER; the number of rows of the matrixA.M >= 0. πΈNβN is INTEGER; the number of columns of the matrixA.N >= 0. π¦AβA is COMPLEX*16 array, dimension (LDA,N); the m-by-n matrixA. πAFβAF is COMPLEX*16 array, dimension (LDA,N); details of the QR factorization ofA, as returned byZGEQRF. SeeZGEQRFfor further details. π₯QβQ is COMPLEX*16 array, dimension (LDA,M); the m-by-m orthogonal matrixQ. πRβR is COMPLEX*16 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 COMPLEX*16 array, dimension (min(M,N)); the scalar factors of the elementary reflectors, as returned byZGEQRF. β¨WORKβWORK is COMPLEX*16 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( 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 zqrt01.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
Sign-off tea: source/version is LAPACK Version 3.12.0, manual page TESTING/LIN/zqrt01.f(3); date? not listed in this footer, so I'm not inventing one, bestie. π
β¨
π¦ 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