SORMLQ(3)
π NAME π
SORMLQ(3) is living its best life in the Library Functions Manual, and the source file for this whole iconic routine is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sormlq.f
π¦ SYNOPSIS π¦
β¨ Functions/Subroutines β¨
subroutine SORMLQ (side, trans, m, n, k, a, lda, tau, c, ldc, work, lwork, info)
SORMLQ β yes bestie, that's the name, and it's giving main character energy.
πΈ Function/Subroutine Documentation πΈ
subroutine SORMLQ (character side, character trans, integer m, integer n,
integer k, real, dimension( lda, * ) a, integer lda, real, dimension( *
) tau, real, dimension( ldc, * ) c, integer ldc, real, dimension( * )
work, integer lwork, integer info)
SORMLQ β showing up again because it is the moment.
π Purpose π
okay so SORMLQ overwrites the general real M-by-N matrix C with:
SIDE = 'L' SIDE = 'R'
TRANS = 'N': Q * C C * Q
TRANS = 'T': Q**T * C C * Q**T
where Q is a real orthogonal matrix defined as the product of k elementary reflectors:
Q = H(k) . . . H(2) H(1)
as returned by SGELQF. Q is of order M if SIDE = 'L' and of order N if SIDE = 'R'.
π§Ύ Parameters π§Ύ
SIDEβSIDE is CHARACTER*1.= 'L': applyQorQ**Tfrom the Left;= 'R': applyQorQ**Tfrom the Right.TRANSβTRANS is CHARACTER*1.= 'N': No transpose, applyQ;= 'T': Transpose, applyQ**T.MβM is INTEGER. The number of rows of the matrixC.M >= 0.NβN is INTEGER. The number of columns of the matrixC.N >= 0.KβK is INTEGER. The number of elementary reflectors whose product defines the matrixQ. IfSIDE = 'L',M >= K >= 0; ifSIDE = 'R',N >= K >= 0.AβA is REAL array, dimension (LDA,M) if SIDE = 'L', (LDA,N) if SIDE = 'R'. 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.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,K).TAUβTAU is REAL array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGELQF.CβC is REAL array, dimension (LDC,N). On entry, the M-by-N matrixC. On exit,Cis overwritten byQ*CorQ**T*CorC*Q**TorC*Q.LDCβLDC is INTEGER. The leading dimension of the arrayC.LDC >= max(1,M).WORKβWORK is REAL array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORK is INTEGER. The dimension of the arrayWORK. IfSIDE = 'L',LWORK >= max(1,N); ifSIDE = 'R',LWORK >= max(1,M). For good performance,LWORKshould generally be larger. 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βINFO is INTEGER.= 0: successful exit;< 0: if INFO = -i, the i-th argument had an illegal value.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 166 of file sormlq.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah πβ¨ that's the whole page, bestie! Footer vibes: LAPACK Version 3.12.0, source path /home/abui...RC/sormlq.f(3). No date line was printed, so I'm not inventing one β periodt π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms