SRC/cgeql2.f(3)
π SRC/cgeql2.f(3) π β Library Functions Manual π
πΈ NAME πΈ
SRC/cgeql2.f β bestie, this is the page for the cgeql2 subroutine, and itβs all about computing the QL factorization of a general rectangular matrix using an unblocked algorithm. Slay. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine cgeql2 (m, n, a, lda, tau, work, info)β CGEQL2 computes the QL factorization of a general rectangular matrix using an unblocked algorithm. π
π Function/Subroutine Documentation π
subroutine cgeql2 (integer m, integer n, complex, dimension( lda, * ) a,
integer lda, complex, dimension( * ) tau, complex, dimension( * ) work,
integer info)
CGEQL2 computes the QL factorization of a general rectangular matrix using an unblocked algorithm.
π¦ Purpose π¦
okay so hereβs the main character moment: CGEQL2 computes a QL factorization of a complex m by n matrix A:
A = Q * L
π Parameters π
MβM is INTEGER; the number of rows of the matrixA.M >= 0. π«ΆNβN is INTEGER; the number of columns of the matrixA.N >= 0. πAβA is COMPLEX array, dimension (LDA,N). On entry, the m by n matrixA. On exit, ifm >= n, the lower triangle of the subarrayA(m-n+1:m,1:n)contains the n by n lower triangular matrixL; ifm <= n, the elements on and below the(n-m)-th superdiagonal contain the m by n lower trapezoidal matrixL; the remaining elements, with the arrayTAU, represent the unitary matrixQas a product of elementary reflectors (see Further Details). π₯LDAβLDA is INTEGER; the leading dimension of the arrayA.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 (N). π¦INFOβINFO is INTEGER:= 0: successful exit;< 0: ifINFO = -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(k) . . . H(2) H(1), 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(m-k+i+1:m) = 0 and v(m-k+i) = 1; v(1:m-k+i-1) is stored on exit in
A(1:m-k+i-1,n-k+i), and tau in TAU(i).
π Definition at line 122 of file cgeql2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. β¨
byeee bestie π
β this page comes from LAPACK, Version 3.12.0, and its source tag is SRC/cgeql2.f(3). β¨ππ«Ά
π¦ 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