TESTING/LIN/slqt02.f(3)
okay bestie, this is the TESTING/LIN/slqt02.f(3) page from the Library Functions Manual, and the source file is TESTING/LIN/slqt02.f. it's giving Fortran test-ratio realness, and we're gonna read every single line together π
πΈ NAME πΈ
TESTING/LIN/slqt02.f
π« SYNOPSIS π«
π§ Functions/Subroutines π§
subroutine slqt02 (m, n, k, a, af, q, l, lda, tau, work, lwork, rwork,
result)
SLQT02
π¦ Function/Subroutine Documentation π¦
here's the full signature, no cap:
subroutine slqt02 (integer m, integer n, integer k, real, dimension( lda, *
) a, real, dimension( lda, * ) af, real, dimension( lda, * ) q, real,
dimension( lda, * ) l, integer lda, real, dimension( * ) tau, real,
dimension( lwork ) work, integer lwork, real, dimension( * ) rwork,
real, dimension( * ) result)
SLQT02
π― Purpose π―
SLQT02 tests SORGLQ, which generates an m-by-n matrix Q with orthonormal rows that is defined as the product of k elementary reflectors. β¨
Given the LQ factorization of an m-by-n matrix A, SLQT02 generates the orthogonal matrix Q defined by the factorization of the first k rows of A; it compares L(1:k,1:m) with A(1:k,1:n)*Q(1:m,1:n)', and checks that the rows of Q are orthonormal. π
π Parameters π
MβM is INTEGER. The number of rows of the matrixQto be generated.M >= 0.NβN is INTEGER. The number of columns of the matrixQto be generated.N >= M >= 0.KβK is INTEGER. The number of elementary reflectors whose product defines the matrixQ.M >= K >= 0.AβA is REAL array, dimension (LDA,N). The m-by-n matrixAwhich was factorized bySLQT01.AFβAF is REAL array, dimension (LDA,N). Details of the LQ factorization ofA, as returned bySGELQF. SeeSGELQFfor further details.QβQ is REAL array, dimension (LDA,N).LβL is REAL array, dimension (LDA,M).LDAβLDA is INTEGER. The leading dimension of the arraysA,AF,QandL.LDA >= N.TAUβTAU is REAL array, dimension (M). The scalar factors of the elementary reflectors corresponding to the LQ factorization inAF.WORKβWORK is REAL array, dimension (LWORK).LWORKβLWORK is INTEGER. The dimension of the arrayWORK.RWORKβRWORK is REAL array, dimension (M).RESULTβRESULT is REAL array, dimension (2). The test ratios:RESULT(1) = norm( L - A*Q' ) / ( N * norm(A) * EPS )andRESULT(2) = norm( I - Q*Q' ) / ( N * EPS ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 133 of file slqt02.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
π okay that's the whole page, bestie β it's LAPACK Version 3.12.0, page TESTING/LIN/slqt02.f(3). periodt π
π¦ 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