SRC/sorglq.f(3)
π SRC/sorglq.f π
From the LAPACK Library Functions Manual, bestie β this is the source page for SRC/sorglq.f. Strap in, it's giving linear algebra but make it cute. π
π NAME π
SRC/sorglq.f β that's the name, and yes, she's iconic. β¨
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
subroutine sorglq (m, n, k, a, lda, tau, work, lwork, info)
SORGLQ
π¦ Function/Subroutine Documentation π¦
subroutine sorglq (integer m, integer n, integer k, real, dimension( lda, *
) a, integer lda, real, dimension( * ) tau, real, dimension( * ) work,
integer lwork, integer info)
SORGLQ
π Purpose π
Okay so picture this: SORGLQ generates an M-by-N real matrix Q with orthonormal rows. It's defined as the first M rows of a product of K elementary reflectors of order N β like this iconic little chain:
Q = H(k) . . . H(2) H(1)
And it's all as returned by SGELQF. Periodt. π
π Parameters π
MβINTEGER. The number of rows of the matrixQ.M >= 0. πNβINTEGER. The number of columns of the matrixQ.N >= M. π¦KβINTEGER. The number of elementary reflectors whose product defines the matrixQ.M >= K >= 0. β¨AβREAL array, dimension (LDA,N). On entry, thei-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned bySGELQFin the firstkrows of its array argumentA. On exit, theM-by-NmatrixQ. πLDAβINTEGER. The first dimension of the arrayA.LDA >= max(1,M). πΈTAUβREAL array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGELQF. πWORKβREAL array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. π«ΆLWORKβINTEGER. The dimension of the arrayWORK.LWORK >= max(1,M). For optimum performanceLWORK >= M*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βINTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument has an illegal value. β
π Author π
Univ. of TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
π Definition π
Definition at line 126 of file sorglq.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. No cap. β¨
LAPACK, Version 3.12.0, from SRC/sorglq.f(3) β that's the footer vibe, bestie, and we are out. π
ππ
π¦ 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