SORM2R(3)
π SORM2R(3) π
okay bestie, welcome to the LAPACK page for SORM2R(3) in the Library Functions Manual. It's giving unblocked-QR-reflector realness, and honestly? Iconic. π«Ά
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sorm2r.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine SORM2R (side, trans, m, n, k, a, lda, tau, c, ldc, work, info)β SORM2R multiplies a general matrix by the orthogonal matrix from a QR factorization determined bysgeqrf(unblocked algorithm).
π§ Function/Subroutine Documentation π§
subroutine SORM2R (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)
SORM2R multiplies a general matrix by the orthogonal matrix from a QR factorization determined by sgeqrf (unblocked algorithm).
πΈ Purpose πΈ
Okay so here's the vibe: SORM2R overwrites the general real m by n matrix C with:
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(1) H(2) . . . H(k)
as returned by SGEQRF. 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': applyQ(No transpose);= 'T': applyQ**T(Transpose).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,K); thei-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned bySGEQRFin the firstkcolumns of its array argumentA.Ais modified by the routine but restored on exit.LDAβLDA is INTEGER; the leading dimension of the arrayA. IfSIDE = 'L',LDA >= max(1,M); ifSIDE = 'R',LDA >= max(1,N).TAUβTAU is REAL array, dimension (K);TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGEQRF.CβC is REAL array, dimension (LDC,N); on entry, thembynmatrixC. 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 (N) if SIDE = 'L', (M) if SIDE = 'R'.INFOβINFO is INTEGER;= 0: successful exit;< 0: ifINFO = -i, thei-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 sorm2r.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
bye bestie π this was LAPACK Version 3.12.0, footer source /home/abui...RC/sorm2r.f(3), and the footer didn't give a date β just source/version and vibes. 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