SRC/cgerq2.f(3)
β¨ CGERQ2: unblocked RQ factorization, but make it main character β¨
okay bestie, this is the SRC/cgerq2.f(3) page from the Library Functions Manual, and it's literally all about cgerq2. it computes the RQ factorization of a general rectangular matrix using an unblocked algorithm. no cap. π
π¦ NAME π¦
SRC/cgerq2.f
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine cgerq2 (m, n, a, lda, tau, work, info)β CGERQ2 computes the RQ factorization of a general rectangular matrix using an unblocked algorithm. β¨
π Function/Subroutine Documentation π
subroutine cgerq2 (integer m, integer n, complex, dimension( lda, * ) a,
integer lda, complex, dimension( * ) tau, complex, dimension( * ) work,
integer info)
CGERQ2 computes the RQ factorization of a general rectangular matrix using an unblocked algorithm. π«Ά
π Purpose π
CGERQ2 computes an RQ factorization of a complex m by n matrix A:
A = R * Q.
π Parameters π
MβINTEGER. the number of rows of the matrixA.M >= 0. π₯NβINTEGER. the number of columns of the matrixA.N >= 0. πAβCOMPLEXarray, dimension(LDA,N). On entry, thembynmatrixA. On exit, ifm <= n, the upper triangle of the subarrayA(1:m,n-m+1:n)contains thembymupper triangular matrixR; ifm >= n, the elements on and above the(m-n)-th subdiagonal contain thembynupper trapezoidal matrixR; the remaining elements, with the arrayTAU, represent the unitary matrixQas a product of elementary reflectors (see Further Details). π«ΆLDAβINTEGER. the leading dimension of the arrayA.LDA >= max(1,M). πTAUβCOMPLEXarray, dimension(min(M,N)). the scalar factors of the elementary reflectors (see Further Details). π§WORKβCOMPLEXarray, dimension(M). βINFOβ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 H(2)**H . . . H(k)**H, where k = min(m,n).
Each H(i) has the form:
H(i) = I - tau * v * v**H
where tau is a complex scalar, and v is a complex vector with v(n-k+i+1:n) = 0 and v(n-k+i) = 1; conjg(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 cgerq2.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π»
and that's the tea, bestie! footer vibes: LAPACK Version 3.12.0 from SRC/cgerq2.f(3) β there's no date printed, so no invented date, periodt. mwah π
π¦ 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