SGRQTS(3)
β¨ SGRQTS(3) β¨ β Library Functions Manual
okay bestie, this is the SGRQTS(3) page from the Library Functions Manual, and it's lowkey a whole LAPACK test routine. π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/sgrqts.f
π SYNOPSIS π
Functions/Subroutines
subroutine SGRQTS (m, p, n, a, af, q, r, lda, taua, b, bf, z, t, bwk,
ldb, taub, work, lwork, rwork, result)
SGRQTS
π¦ Function/Subroutine Documentation π¦
subroutine SGRQTS
subroutine SGRQTS (integer m, integer p, integer n, 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)
SGRQTS
Purpose
SGRQTS tests SGGRQF, which computes the GRQ factorization of an M-by-N matrix A and a P-by-N matrix B: A = R*Q and B = Z*T*Q. Obsessed with a test routine that knows its purpose. π
Parameters
MβINTEGER. The number of rows of the matrixA. Constraint:M >= 0. π«ΆPβINTEGER. The number of rows of the matrixB. Constraint:P >= 0.NβINTEGER. The number of columns of the matricesAandB. Constraint:N >= 0.AβREAL array, dimension (LDA,N). TheM-by-NmatrixA. β¨AFβREAL array, dimension (LDA,N). Details of the GRQ factorization ofAandB, as returned bySGGRQF; seeSGGRQFfor further details.QβREAL array, dimension (LDA,N). TheN-by-Northogonal matrixQ.RβREAL array, dimension (LDA,MAX(M,N)). That's the whole description on the page, bestie.LDAβINTEGER. The leading dimension of the arraysA,AF,RandQ. Constraint:LDA >= max(M,N).TAUAβREAL array, dimension (min(M,N)). The scalar factors of the elementary reflectors, as returned bySGGQRC.BβREAL array, dimension (LDB,N). On entry, theP-by-NmatrixA. Yes, it saysAhere β we are not editing the sacred text. πBFβREAL array, dimension (LDB,N). Details of the GQR factorization ofAandB, as returned bySGGRQF; seeSGGRQFfor further details.ZβREAL array, dimension (LDB,P). TheP-by-Porthogonal matrixZ.TβREAL array, dimension (LDB,max(P,N)). No extra description on the page for this one.BWKβREAL array, dimension (LDB,N). No extra description on the page for this one either.LDBβINTEGER. The leading dimension of the arraysB,BF,ZandT. Constraint:LDB >= max(P,N).TAUBβREAL array, dimension (min(P,N)). The scalar factors of the elementary reflectors, as returned bySGGRQF.WORKβREAL array, dimension (LWORK). Just the dimension here.LWORKβINTEGER. The dimension of the arrayWORK. Constraint:LWORK >= max(M,P,N)**2.RWORKβREAL array, dimension (M). That's the listed dimension, periodt.RESULTβREAL array, dimension (4). The test ratios, and they are:
RESULT(1) = norm( R - A*Q' ) / ( MAX(M,N)*norm(A)*ULP)
RESULT(2) = norm( T*Q - Z'*B ) / (MAX(P,N)*norm(B)*ULP)
RESULT(3) = norm( I - Q'*Q ) / ( N*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 175 of file sgrqts.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie. This was SGRQTS(3) from LAPACK Version 3.12.0, footer path /home/abui...IG/sgrqts.f(3) β the original didn't give a separate date, so I am absolutely not inventing one. Stay precise, stay iconic. πβ¨
π¦ 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