SRC/zgeql2.f(3)
hey bestie, you're looking at SRC/zgeql2.f(3) from the Library Functions Manual π buckle up, because this one is literally a LAPACK subroutine page and it's giving βmath baddie explains linear algebra.β
πΈ NAME πΈ
SRC/zgeql2.f β that's the file, bestie. No cap.
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
subroutine zgeql2 (m, n, a, lda, tau, work, info)β ZGEQL2 computes the QL factorization of a general rectangular matrix using an unblocked algorithm. Periodt.
π« Function/Subroutine Documentation π«
subroutine zgeql2 (integer m, integer n, complex*16, dimension( lda, * ) a,
integer lda, complex*16, dimension( * ) tau, complex*16, dimension( * )
work, integer info)
ZGEQL2 computes the QL factorization of a general rectangular matrix using an unblocked algorithm. Yep, that's the whole vibe π
π― Purpose π―
okay so, ZGEQL2 computes a QL factorization of a complex m by n matrix A:
A = Q * L.
That's it. That's the main-character equation β¨
π Parameters π
MβMisINTEGER. It's the number of rows of the matrixA, andM >= 0. Respect the constraint, bestie π«ΆNβNisINTEGER. It's the number of columns of the matrixA, andN >= 0. Again: constraint check, slay πAβAisCOMPLEX*16 array, dimension (LDA,N).- On entry, it's the
mbynmatrixA. - On exit, if
m >= n, the lower triangle of the subarrayA(m-n+1:m,1:n)contains thenbynlower triangular matrixL. - If
m <= n, the elements on and below the(n-m)-th superdiagonal contain thembynlower trapezoidal matrixL. - The remaining elements, with the array
TAU, represent the unitary matrixQas a product of elementary reflectors (see Further Details). It's giving βone array, multiple jobsβ π
- On entry, it's the
LDAβLDAisINTEGER. It's the leading dimension of the arrayA, andLDA >= max(1,M). Do not fumble this one, fr fr πTAUβTAUisCOMPLEX*16 array, dimension (min(M,N)). These are the scalar factors of the elementary reflectors (see Further Details). Tiny array, big role β¨WORKβWORKisCOMPLEX*16 array, dimension (N). That's the workspace, bestie π§INFOβINFOisINTEGER.= 0: successful exit. We love a clean exit π< 0: ifINFO = -i, thei-th argument had an illegal value. So if something's wrong, it's snitching by index π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Generated automatically by Doxygen for LAPACK from the source code. The robots wrote this one π€π
π 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) = 0v(m-k+i) = 1v(1:m-k+i-1)is stored on exit inA(1:m-k+i-1,n-k+i)- and
tauinTAU(i)
The way that little v vector gets tucked into A? iconic. Obsessed, honestly π
Definition at line 122 of file zgeql2.f.
later, bestie β this page is from LAPACK Version 3.12.0, and it's literally the manual page for SRC/zgeql2.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