TESTING/EIG/sgqrts.f(3)
π TESTING/EIG/sgqrts.f(3) π
okay so bestie, this page is from the Library Functions Manual β yes, that's the manual name β and it's all about TESTING/EIG/sgqrts.f. The vibe? Fortran test-helper subroutine, extremely specific, we love her. π
β¨ NAME β¨
TESTING/EIG/sgqrts.f
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine sgqrts (n, m, p, a, af, q, r, lda, taua, b, bf, z, t, bwk,
ldb, taub, work, lwork, rwork, result)
SGQRTS
π§ Function/Subroutine Documentation π§
subroutine sgqrts (integer n, integer m, integer p, real, dimension( lda, *
) a, real, dimension( lda, * ) af, real, dimension( lda, * ) q, real,
dimension( lda, * ) r, integer lda, real, dimension( * ) taua, real,
dimension( ldb, * ) b, real, dimension( ldb, * ) bf, real, dimension(
ldb, * ) z, real, dimension( ldb, * ) t, real, dimension( ldb, * ) bwk,
integer ldb, real, dimension( * ) taub, real, dimension( lwork ) work,
integer lwork, real, dimension( * ) rwork, real, dimension( 4 ) result)
SGQRTS
π Purpose π
SGQRTS tests SGGQRF, which computes the GQR factorization of an N-by-M matrix A and a N-by-P matrix B: A = Q*R and B = Q*T*Z. periodt, that's the whole purpose. π«
π Parameters π
NβNisINTEGER. The number of rows of the matricesAandB.N >= 0.MβMisINTEGER. The number of columns of the matrixA.M >= 0.PβPisINTEGER. The number of columns of the matrixB.P >= 0.AβAisREALarray, dimension(LDA,M). TheN-by-MmatrixA.AFβAFisREALarray, dimension(LDA,N). Details of the GQR factorization ofAandB, as returned bySGGQRF, seeSGGQRFfor further details.QβQisREALarray, dimension(LDA,N). TheM-by-Morthogonal matrixQ.RβRisREALarray, dimension(LDA,MAX(M,N)). That's the whole note in the original, bestie.LDAβLDAisINTEGER. The leading dimension of the arraysA,AF,RandQ.LDA >= max(M,N).TAUAβTAUAisREALarray, dimension(min(M,N)). The scalar factors of the elementary reflectors, as returned bySGGQRF.BβBisREALarray, dimension(LDB,P). On entry, theN-by-PmatrixA. (yes, it literally saysAthere β we're keeping the original wording exactly, no cap)BFβBFisREALarray, dimension(LDB,N). Details of the GQR factorization ofAandB, as returned bySGGQRF, seeSGGQRFfor further details.ZβZisREALarray, dimension(LDB,P). TheP-by-Porthogonal matrixZ.TβTisREALarray, dimension(LDB,max(P,N)). No extra description in the source.BWKβBWKisREALarray, dimension(LDB,N). No extra description in the source.LDBβLDBisINTEGER. The leading dimension of the arraysB,BF,ZandT.LDB >= max(P,N).TAUBβTAUBisREALarray, dimension(min(P,N)). The scalar factors of the elementary reflectors, as returned bySGGRQF.WORKβWORKisREALarray, dimension(LWORK). No extra description in the source.LWORKβLWORKisINTEGER. The dimension of the arrayWORK,LWORK >= max(N,M,P)**2.RWORKβRWORKisREALarray, dimension(max(N,M,P)). No extra description in the source.RESULTβRESULTisREALarray, 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 174 of file sgqrts.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie β this one is from LAPACK, Version 3.12.0, and it's the TESTING/EIG/sgqrts.f(3) page. bye πβ¨
π¦ 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