SRC/dorm2r.f(3)
π SRC/dorm2r.f(3) π
okay bestie, welcome to the Library Functions Manual page for SRC/dorm2r.f(3) π. This is the dorm2r subroutine, and she has main character energy in the LAPACK lineup.
π NAME π
SRC/dorm2r.f β that's the name, periodt. π«Ά
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
Here's the signature and one-liner, exactly as the page gives them:
subroutine dorm2r (side, trans, m, n, k, a, lda, tau, c, ldc, work,
info)
DORM2R multiplies a general matrix by the orthogonal matrix from a
QR factorization determined by sgeqrf (unblocked algorithm).
That's the synopsis vibe: signature plus the line about DORM2R multiplying a general matrix by the orthogonal matrix from a QR factorization determined by sgeqrf (unblocked algorithm). No cap. πΈ
π Function/Subroutine Documentation π
Full signature, character for character:
subroutine dorm2r (character side, character trans, integer m, integer n,
integer k, double precision, dimension( lda, * ) a, integer lda, double
precision, dimension( * ) tau, double precision, dimension( ldc, * ) c,
integer ldc, double precision, dimension( * ) work, integer info)
DORM2R multiplies a general matrix by the orthogonal matrix from a QR
factorization determined by sgeqrf (unblocked algorithm).
π― Purpose π―
So DORM2R overwrites the general real m by n matrix C with one of these four glow-ups:
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 DGEQRF. Q is of order m if SIDE = 'L' and of order n if SIDE = 'R'. That's the whole purpose, and yes she ate. π₯
π§Έ 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 DOUBLE PRECISION array, dimension (LDA,K). The i-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byDGEQRFin the firstkcolumns of its array argumentA.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 DOUBLE PRECISION array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byDGEQRF.CβC is DOUBLE PRECISION 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 DOUBLE PRECISION array, dimension(N)ifSIDE = 'L',(M)ifSIDE = 'R'.INFOβINFO is INTEGER= 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 156 of file dorm2r.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
footer sign-off: source/version is LAPACK Version 3.12.0, and the page is SRC/dorm2r.f(3). Date: not listed on this page, so no invented date energy β just accurate facts and good vibes, bestie π
π
π¦ 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