SLQT02(3)
π SLQT02(3) β Library Functions Manual π
Okay bestie, welcome to the SLQT02(3) page from the LAPACK Library Functions Manual. The banner at the top is doing a little /home/abui...IN/slqt02.f(3) cameo situation, and weβre about to get into the whole subroutine. Buckle up, itβs giving numerical linear algebra π
.
π NAME π
Officially, the NAME section is just this file path, no cap:
/home/abuild/rpmbuild/BUILD/lapack-
static-3.12.0-build/lapack-3.12.0/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 π§
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 π―
So SLQT02 tests SORGLQ, which generates an m-by-n matrix Q with orthonormal rows that is defined as the product of k elementary reflectors. Iconic behavior, honestly.
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. Main character energy for a test routine, fr fr.
ποΈ Parameters ποΈ
MβMisINTEGER. The number of rows of the matrixQto be generated.M >= 0.π«ΆNβNisINTEGER. The number of columns of the matrixQto be generated.N >= M >= 0.β¨KβKisINTEGER. The number of elementary reflectors whose product defines the matrixQ.M >= K >= 0.πAβAisREAL array, dimension (LDA,N). Them-by-nmatrixAwhich was factorized bySLQT01.AFβAFisREAL array, dimension (LDA,N). Details of the LQ factorization ofA, as returned bySGELQF. SeeSGELQFfor further details.QβQisREAL array, dimension (LDA,N). Thatβs the whole note, bestie.LβLisREAL array, dimension (LDA,M). Same vibe: thatβs the note.LDAβLDAisINTEGER. The leading dimension of the arraysA,AF,QandL.LDA >= N.π¦TAUβTAUisREAL array, dimension (M). The scalar factors of the elementary reflectors corresponding to the LQ factorization inAF.WORKβWORKisREAL array, dimension (LWORK). Short and sweet.LWORKβLWORKisINTEGER. The dimension of the arrayWORK.RWORKβRWORKisREAL array, dimension (M). Also short and sweet.RESULTβRESULTisREAL array, dimension (2). The test ratios:RESULT(1) = norm( L - A*Q' ) / ( N * norm(A) * EPS )RESULT(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.
And thatβs the page, bestie π«Ά. Cute little sign-off: the footer says LAPACK Version 3.12.0 and the path /home/abui...IN/slqt02.f(3) β no date shown, just version-and-path vibes. Periodt. πβ¨
π¦ 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