SRC/sorgqr.f(3)
okay bestie, welcome to the SRC/sorgqr.f(3) page from the Library Functions Manual π
this is the SORGQR glow-up, and we are keeping every single detail. no cap.
πΈ NAME πΈ
SRC/sorgqr.f
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine sorgqr (m, n, k, a, lda, tau, work, lwork, info)
SORGQR
π Function/Subroutine Documentation π
subroutine sorgqr (integer m, integer n, integer k, real, dimension( lda, * ) a, integer lda, real, dimension( * ) tau, real, dimension( * ) work, integer lwork, integer info)
SORGQR
π Purpose π
okay so SORGQR generates an M-by-N real matrix Q with orthonormal columns, and it's defined as the first N columns of a product of K elementary reflectors of order M:
Q = H(1) H(2) . . . H(k)
...as returned by SGEQRF. iconic behavior, honestly β¨
π Parameters π
MβMisINTEGER. it's the number of rows of the matrixQ, andM >= 0.NβNisINTEGER. it's the number of columns of the matrixQ, andM >= N >= 0.KβKisINTEGER. it's the number of elementary reflectors whose product defines the matrixQ, andN >= K >= 0.AβAisREAL array, dimension (LDA,N). on entry, the i-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned bySGEQRFin the first k columns of its array argumentA. on exit, it's theM-by-NmatrixQ. main character transformation, fr fr.LDAβLDAisINTEGER. it's the first dimension of the arrayA, andLDA >= max(1,M).TAUβTAUisREAL array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGEQRF.WORKβWORKisREAL array, dimension (MAX(1,LWORK)). on exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORKisINTEGER. it's the dimension of the arrayWORK, andLWORK >= max(1,N). for optimum performanceLWORK >= N*NB, whereNBis the optimal blocksize.
if LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA. sneaky but legal π
INFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument has an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Definition at line 127 of file sorgqr.f. β
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
that's the whole page, bestie β LAPACK Version 3.12.0, source SRC/sorgqr.f(3), and the auto-generated Doxygen credit is right there in the Author bit π«Άπ
π¦ 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