SGERQ2(3)
π SGERQ2(3) π
okay bestie, this oneβs from the Library Functions Manual and itβs giving βI do RQ factorization and I do it unblocked.β No cap, SGERQ2 is the main character of this page. π¦β¨
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-
static-3.12.0-build/lapack-3.12.0/SRC/sgerq2.f
πΈ SYNOPSIS πΈ
π¦ Functions/Subroutines π¦
subroutine SGERQ2 (m, n, a, lda, tau, work, info)βSGERQ2computes the RQ factorization of a general rectangular matrix using an unblocked algorithm. π
π«Ά Function/Subroutine Documentation π«Ά
Full signature, because we respect the whole cast:
subroutine SGERQ2 (integer m, integer n, real, dimension( lda, * ) a,
integer lda, real, dimension( * ) tau, real, dimension( * ) work,
integer info)
SGERQ2 computes the RQ factorization of a general rectangular matrix using an unblocked algorithm. β¨
π Purpose: π
SGERQ2 computes an RQ factorization of a real m by n matrix A:
A = R * Q.
π Parameters π
MβMisINTEGER. Itβs the number of rows of the matrixA. Constraint:M >= 0. πNβNisINTEGER. Itβs the number of columns of the matrixA. Constraint:N >= 0. πAβAisREAL array, dimension (LDA,N).- On entry, itβs the
mbynmatrixA. - On exit, if
m <= n, the upper triangle of the subarrayA(1:m,n-m+1:n)contains thembymupper triangular matrixR; - if
m >= n, the elements on and above the(m-n)-th subdiagonal contain thembynupper trapezoidal matrixR; - the remaining elements, with the array
TAU, represent the orthogonal matrixQas a product of elementary reflectors (see Further Details). π
- On entry, itβs the
LDAβLDAisINTEGER. The leading dimension of the arrayA. Constraint:LDA >= max(1,M). πTAUβTAUisREAL array, dimension (min(M,N)). The scalar factors of the elementary reflectors (see Further Details). π«ΆWORKβWORKisREAL array, dimension (M). πΈINFOβINFOisINTEGER.= 0: successful exit β¨< 0: ifINFO = -i, thei-th argument had an illegal value π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details: π₯
The matrix Q is represented as a product of elementary reflectors:
Q = H(1) H(2) . . . H(k), where k = min(m,n).
Each H(i) has the form:
H(i) = I - tau * v * v**T
where tau is a real scalar, and v is a real vector with:
v(n-k+i+1:n) = 0 and v(n-k+i) = 1; v(1:n-k+i-1) is stored on exit in
A(m-k+i,1:n-k+i-1), and tau in TAU(i).
π Definition at line 122 of file sgerq2.f. π
Thatβs the exact spot, bestie: Definition at line 122 of file sgerq2.f. β
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie π«Ά. The footer vibe is LAPACK Version 3.12.0, and the source tag is /home/abui...RC/sgerq2.f(3). There was no separate date in that footer, so Iβm not inventing one β 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