DORM2R(3)
π DORM2R π
okay bestie, this is the dorm2r.f(3) page from the Library Functions Manual. Itβs giving LAPACK, itβs giving unblocked algorithm, and itβs literally about multiplying a general matrix by the orthogonal matrix from a QR factorization determined by sgeqrf. Iconic. π
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dorm2r.f
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
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).
π«Ά Function/Subroutine Documentation π«Ά
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 β¨
straight from the source, no cap:
!> DORM2R 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 DGEQRF. Q is of order m if SIDE = 'L' and of order n
!> if SIDE = 'R'.
π Parameters π
SIDEβCHARACTER*1= 'L': applyQorQ**Tfrom the Left= 'R': applyQorQ**Tfrom the Right
TRANSβCHARACTER*1= 'N': applyQ(No transpose)= 'T': applyQ**T(Transpose)
MβINTEGER; the number of rows of the matrixC.M >= 0.NβINTEGER; the number of columns of the matrixC.N >= 0.KβINTEGER; the number of elementary reflectors whose product defines the matrixQ. IfSIDE = 'L',M >= K >= 0; ifSIDE = 'R',N >= K >= 0.AβDOUBLE PRECISIONarray, dimension(LDA,K). Thei-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.Ais modified by the routine but restored on exit.LDAβINTEGER; the leading dimension of the arrayA. IfSIDE = 'L',LDA >= max(1,M); ifSIDE = 'R',LDA >= max(1,N).TAUβDOUBLE PRECISIONarray, dimension(K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byDGEQRF.CβDOUBLE PRECISIONarray, dimension(LDC,N). On entry, thembynmatrixC. On exit,Cis overwritten byQ*CorQ**T*CorC*Q**TorC*Q.LDCβINTEGER; the leading dimension of the arrayC.LDC >= max(1,M).WORKβDOUBLE PRECISIONarray, dimension(N)ifSIDE = 'L',(M)ifSIDE = 'R'.INFOβINTEGER= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
π Author π
Univ. of TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
Definition at line 157 of file dorm2r.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π Cute sign-off: LAPACK Version 3.12.0 and /home/abui...RC/dorm2r.f(3) β no date in this footer, so no invented date, bestie; love u, bye! π
π¦ 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