SRC/sgeqlf.f(3)
okay bestie, this is the SRC/sgeqlf.f page from the Library Functions Manual ๐
โจ. itโs giving main character energy for a LAPACK routine, and weโre doing a full vibe check with zero skips. no cap ๐ซถ
โจ NAME โจ
SRC/sgeqlf.f โ thatโs the name, thatโs the file, periodt ๐
๐ธ SYNOPSIS ๐ธ
๐ Functions/Subroutines ๐
hereโs the synopsis exactly as she appears, because we do not play with signatures ๐ฅ:
subroutine sgeqlf (m, n, a, lda, tau, work, lwork, info)
SGEQLF
and the routine is literally called SGEQLF โ iconic ๐.
๐ Function/Subroutine Documentation ๐
full typed signature, copied with love and exact characters:
subroutine sgeqlf (integer m, integer n, real, dimension( lda, * ) a,
integer lda, real, dimension( * ) tau, real, dimension( * ) work,
integer lwork, integer info)
SGEQLF
SGEQLF again, because she said it twice and we respect it ๐.
๐ฏ Purpose ๐ฏ
SGEQLF computes a QL factorization of a real M-by-N matrix A:
A = Q * L
๐งฎ Parameters ๐งฎ
MโMisINTEGER. the number of rows of the matrixA.M >= 0. ๐NโNisINTEGER. the number of columns of the matrixA.N >= 0. ๐AโAisREALarray, dimension(LDA,N). on entry, theM-by-NmatrixA. on exit:- if
m >= n, the lower triangle of the subarrayA(m-n+1:m,1:n)contains theN-by-Nlower triangular matrixL; - if
m <= n, the elements on and below the(n-m)-th superdiagonal contain theM-by-Nlower trapezoidal matrixL; - the remaining elements, with the array
TAU, represent the orthogonal matrixQas a product of elementary reflectors (see Further Details). โจ
- if
LDAโLDAisINTEGER. the leading dimension of the arrayA.LDA >= max(1,M). ๐TAUโTAUisREALarray, dimension(min(M,N)). the scalar factors of the elementary reflectors (see Further Details). ๐ซถWORKโWORKisREALarray, dimension(MAX(1,LWORK)). on exit, ifINFO = 0,WORK(1)returns the optimalLWORK. ๐ธLWORKโLWORKisINTEGER. the dimension of the arrayWORK.LWORK >= 1, if MIN(M,N) = 0, and LWORK >= N, otherwise.for optimum performanceLWORK >= N*NB, whereNBis the optimal blocksize. ifLWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA. ๐INFOโINFOisINTEGER.= 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(k) . . . H(2) H(1), 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(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 138 of file sgeqlf.f.
๐ Author ๐
Generated automatically by Doxygen for LAPACK from the source code.
k bye bestie ๐ this page is from LAPACK, Version 3.12.0, for SRC/sgeqlf.f(3) โ slay, stay safe, and keep that QL factorization iconic โจ๐ซถ
๐ฆ 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