SRC/sorml2.f(3)
πΈ SRC/sorml2.f(3) πΈ
okay so this is a Library Functions Manual page, and the title is SRC/sorml2.f(3) β yes bestie, we're deep in the LAPACK Fortran zone and it's lowkey iconic. π
β¨ NAME β¨
SRC/sorml2.f β that's the whole name, no cap. π
β¨ SYNOPSIS β¨
π« Functions/Subroutines π«
subroutine sorml2 (side, trans, m, n, k, a, lda, tau, c, ldc, work,
info)
sorml2β SORML2 multiplies a general matrix by the orthogonal matrix from a LQ factorization determined bysgelqf(unblocked algorithm). slay.
π Function/Subroutine Documentation π
subroutine sorml2 (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 info)
SORML2 multiplies a general matrix by the orthogonal matrix from a LQ factorization determined by sgelqf (unblocked algorithm).
π― Purpose π―
okay so here's the vibe: SORML2 overwrites the general real m by n matrix C with β and now the equations, bestie:
Q * C if SIDE = 'L' and TRANS = 'N', or
Q**T* C if SIDE = 'L' and TRANS = 'T', or
C * Q if SIDE = 'R' and TRANS = 'N', or
C * Q**T if SIDE = 'R' and TRANS = '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
SIDEisCHARACTER*1= 'L': apply Q or Q**T from the Left= 'R': apply Q or Q**T from the Right
π¦ TRANS
TRANSisCHARACTER*1= 'N': apply Q (No transpose)= 'T': apply Q**T (Transpose)
π¦ M
MisINTEGER- The number of rows of the matrix C.
M >= 0.
π¦ N
NisINTEGER- The number of columns of the matrix C.
N >= 0.
π¦ K
KisINTEGER- The number of elementary reflectors whose product defines the matrix Q.
- If
SIDE = 'L',M >= K >= 0; - if
SIDE = 'R',N >= K >= 0.
π¦ A
AisREAL array, dimension(LDA,M)ifSIDE = 'L',(LDA,N)ifSIDE = 'R'
- The i-th row must contain the vector which defines the elementary reflector
H(i), fori = 1,2,...,k, as returned bySGELQFin the firstkrows of its array argument A. - A is modified by the routine but restored on exit. π
π¦ LDA
LDAisINTEGER- The leading dimension of the array A.
LDA >= max(1,K).
π¦ TAU
TAUisREAL array, dimension(K)TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGELQF.
π¦ C
CisREAL array, dimension(LDC,N)- On entry, the m by n matrix C.
- On exit, C is overwritten by
Q*CorQ**T*CorC*Q**TorC*Q.
π¦ LDC
LDCisINTEGER- The leading dimension of the array C.
LDC >= max(1,M).
π¦ WORK
WORKisREAL array, dimension(N)ifSIDE = 'L',(M)ifSIDE = 'R'
π¦ INFO
INFOisINTEGER= 0: successful exit< 0: ifINFO = -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 157 of file sorml2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. β¨
π okay that's the whole page, bestie β LAPACK Version 3.12.0, SRC/sorml2.f(3) β mwah! π
π¦ 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