CGERQ2(3)
πΈ NAME
Okay bestie, welcome to the CGERQ2(3) page β yes, the Library Functions Manual cutie β and the NAME line is literally this source-file path:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cgerq2.f
π SYNOPSIS
π Functions/Subroutines
subroutine CGERQ2 (m, n, a, lda, tau, work, info)βCGERQ2computes 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
The tea is: CGERQ2 computes an RQ factorization of a complex m by n matrix A:
A = R * Q.
π§Έ Parameters
MβM is INTEGER. The number of rows of the matrix A.M >= 0.NβN is INTEGER. The number of columns of the matrix A.N >= 0.AβA is COMPLEX array, dimension (LDA,N). On entry, the m by n matrix A. On exit, ifm <= n, the upper triangle of the subarrayA(1:m,n-m+1:n)contains the m by m upper triangular matrix R; ifm >= n, the elements on and above the(m-n)-thsubdiagonal contain the m by n upper trapezoidal matrix R; the remaining elements, with the array TAU, represent the unitary matrix Q as a product of elementary reflectors (see Further Details).LDAβLDA is INTEGER. The leading dimension of the array A.LDA >= max(1,M).TAUβTAU is COMPLEX array, dimension (min(M,N)). The scalar factors of the elementary reflectors (see Further Details).WORKβWORK is COMPLEX array, dimension (M).INFOβINFO is INTEGER.= 0: successful exit< 0: if INFO = -i, the i-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.
xoxo bestie π
the footer vibe is LAPACK, Version 3.12.0, source /home/abui...RC/cgerq2.f(3) β that's the whole page, 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