SRC/sorgrq.f(3)
π SRC/sorgrq.f π
okay so this is the SRC/sorgrq.f(3) page from the Library Functions Manual β and yes, bestie, the whole thing is about SORGRQ, and it's giving β¨ linear algebra main character energy β¨.
πΈ NAME πΈ
SRC/sorgrq.f β that's the page name. The routine living inside is SORGRQ, and it's lowkey iconic.
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine sorgrq (m, n, k, a, lda, tau, work, lwork, info)βSORGRQ
π¦ Function/Subroutine Documentation π¦
subroutine sorgrq (integer m, integer n, integer k, real, dimension( lda, * ) a, integer lda, real, dimension( * ) tau, real, dimension( * ) work, integer lwork, integer info)
SORGRQ
The routine is SORGRQ, obviously. π
π Purpose π
SORGRQ generates an M-by-N real matrix Q with orthonormal rows. That Q is defined as the last M rows of a product of K elementary reflectors of order N:
Q = H(1) H(2) . . . H(k)
...exactly as returned by SGERQF. No cap. π«Ά
π Parameters π
MβMisINTEGER. It's the number of rows of the matrixQ.M >= 0.NβNisINTEGER. It's the number of columns of the matrixQ.N >= M.KβKisINTEGER. It's the number of elementary reflectors whose product defines the matrixQ.M >= K >= 0.AβAisREALarray, dimension(LDA,N). On entry, the(m-k+i)-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned bySGERQFin the lastkrows of its array argumentA. On exit, it's theM-by-NmatrixQ. Slay. β¨LDAβLDAisINTEGER. It's the first dimension of the arrayA.LDA >= max(1,M).TAUβTAUisREALarray, dimension(K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGERQF.WORKβWORKisREALarray, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORKisINTEGER. It's the dimension of the arrayWORK.LWORK >= max(1,M). For optimum performance,LWORK >= M*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. Important bestie behavior. π
INFOβINFOisINTEGER. Exit codes are= 0: successful exitand< 0: if INFO = -i, the i-th argument has an illegal value.
π Author π
Univ. of TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
π₯ Definition π₯
Definition at line 127 of file sorgrq.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
And that's the tea, bestie: LAPACK Version 3.12.0 Β· SRC/sorgrq.f(3) Β· date: not listed on this page, but the routine still ate. ππ
π¦ 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