SRC/dgerq2.f(3)
okay so bestie, welcome to the SRC/dgerq2.f page of the Library Functions Manual β it's giving unblocked RQ factorization realness, and we're gonna get through every single detail together π
πΈ NAME πΈ
SRC/dgerq2.f β that's the file, bestie. Short, iconic, to the point π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine dgerq2 (m, n, a, lda, tau, work, info)β DGERQ2 computes the RQ factorization of a general rectangular matrix using an unblocked algorithm.
β¨ Function/Subroutine Documentation β¨
Here's the full signature, preserved exactly:
subroutine dgerq2 (integer m, integer n, double precision, dimension( lda, *
) a, integer lda, double precision, dimension( * ) tau, double
precision, dimension( * ) work, integer info)
DGERQ2 computes the RQ factorization of a general rectangular matrix using an unblocked algorithm.
π« Purpose π«
DGERQ2 computes an RQ factorization of a real m by n matrix A:
A = R * Q.
π Parameters π
MβM is INTEGER. It's the number of rows of the matrix A, and it has to satisfyM >= 0.NβN is INTEGER. It's the number of columns of the matrix A, and it has to satisfyN >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). On entry, it's thembynmatrix A. On exit, the tea is: ifm <= n, the upper triangle of the subarrayA(1:m,n-m+1:n)contains thembymupper triangular matrix R; ifm >= n, the elements on and above the(m-n)-th subdiagonal contain thembynupper trapezoidal matrix R. The remaining elements, together with the arrayTAU, represent the orthogonal matrix Q as a product of elementary reflectors (see Further Details).LDAβLDA is INTEGER. It's the leading dimension of the array A, and it has to satisfyLDA >= max(1,M).TAUβTAU is DOUBLE PRECISION array, dimension (min(M,N)). These are the scalar factors of the elementary reflectors (see Further Details).WORKβWORK is DOUBLE PRECISION array, dimension (M).INFOβINFO is INTEGER= 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 dgerq2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie β LAPACK, Version 3.12.0, SRC/dgerq2.f(3). Go slay your RQ factorization, 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