TESTING/EIG/cgqrts.f(3)
π NAME π
okay so this page is TESTING/EIG/cgqrts.f, straight out of the Library Functions Manual, and it is literally all about one very specific LAPACK test routine. slay.
β¨ SYNOPSIS β¨
Functions/Subroutines β yes bestie, that's the category:
subroutine cgqrts (n, m, p, a, af, q, r, lda, taua, b, bf, z, t, bwk,
ldb, taub, work, lwork, rwork, result)
CGQRTS
π Function/Subroutine Documentation π
Here's the full signature, no cap:
subroutine cgqrts (integer n, integer m, integer p, complex, dimension( lda,
* ) a, complex, dimension( lda, * ) af, complex, dimension( lda, * ) q,
complex, dimension( lda, * ) r, integer lda, complex, dimension( * )
taua, complex, dimension( ldb, * ) b, complex, dimension( ldb, * ) bf,
complex, dimension( ldb, * ) z, complex, dimension( ldb, * ) t, complex,
dimension( ldb, * ) bwk, integer ldb, complex, dimension( * ) taub,
complex, dimension( lwork ) work, integer lwork, real, dimension( * )
rwork, real, dimension( 4 ) result)
CGQRTS
π¦ Purpose
CGQRTS tests CGGQRF, which computes the GQR factorization of an N-by-M matrix A and an N-by-P matrix B:
A = Q*R
B = Q*T*Z
and that's the whole vibe of this routine. π
π Parameters
NβN is INTEGER. The number of rows of the matricesAandB.N >= 0.MβM is INTEGER. The number of columns of the matrixA.M >= 0.PβP is INTEGER. The number of columns of the matrixB.P >= 0.AβA is COMPLEX array, dimension (LDA,M). TheN-by-MmatrixA.AFβAF is COMPLEX array, dimension (LDA,N). Details of the GQR factorization ofAandB, as returned byCGGQRF, seeCGGQRFfor further details.QβQ is COMPLEX array, dimension (LDA,N). TheM-by-Munitary matrixQ.RβR is COMPLEX array, dimension (LDA,MAX(M,N)).LDAβLDA is INTEGER. The leading dimension of the arraysA,AF,RandQ.LDA >= max(M,N).TAUAβTAUA is COMPLEX array, dimension (min(M,N)). The scalar factors of the elementary reflectors, as returned byCGGQRF.BβB is COMPLEX array, dimension (LDB,P). On entry, theN-by-PmatrixA. yes, the page literally saysAhere, and I'm not fixing it, bestie π.BFβBF is COMPLEX array, dimension (LDB,N). Details of the GQR factorization ofAandB, as returned byCGGQRF, seeCGGQRFfor further details.ZβZ is COMPLEX array, dimension (LDB,P). TheP-by-Punitary matrixZ.TβT is COMPLEX array, dimension (LDB,max(P,N)).BWKβBWK is COMPLEX array, dimension (LDB,N).LDBβLDB is INTEGER. The leading dimension of the arraysB,BF,ZandT.LDB >= max(P,N).TAUBβTAUB is COMPLEX array, dimension (min(P,N)). The scalar factors of the elementary reflectors, as returned bySGGRQF. yes,SGGRQFβ that's what the page says π«Ά.WORKβWORK is COMPLEX array, dimension (LWORK).LWORKβLWORK is INTEGER. The dimension of the arrayWORK,LWORK >= max(N,M,P)**2.RWORKβRWORK is REAL array, dimension (max(N,M,P)).RESULTβRESULT is REAL array, dimension (4). The test ratios:
RESULT(1) = norm( R - Q'*A ) / ( MAX(M,N)*norm(A)*ULP)
RESULT(2) = norm( T*Z - Q'*B ) / (MAX(P,N)*norm(B)*ULP)
RESULT(3) = norm( I - Q'*Q ) / ( M*ULP )
RESULT(4) = norm( I - Z'*Z ) / ( P*ULP )
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line
Definition at line 174 of file cgqrts.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie β brought to you by LAPACK Version 3.12.0 and the page tag TESTING/EIG/cgqrts.f(3). mwah πβ¨
π¦ 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