SRC/sormqr.f(3)
π NAME π
SRC/sormqr.f β bestie, this is the LAPACK manual page for the sormqr subroutine. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine sormqr (side, trans, m, n, k, a, lda, tau, c, ldc, work,
lwork, info)
SORMQR
π¦ Function/Subroutine Documentation π¦
subroutine sormqr (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)
SORMQR π
πΈ Purpose πΈ
Okay so SORMQR 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(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βSIDEisCHARACTER*1.= 'L': applyQorQ**Tfrom the Left;= 'R': applyQorQ**Tfrom the Right. π«ΆTRANSβTRANSisCHARACTER*1.= 'N': No transpose, applyQ;= 'T': Transpose, applyQ**T. π¦MβMisINTEGER. The number of rows of the matrixC.M >= 0. πΈNβNisINTEGER. The number of columns of the matrixC.N >= 0. πKβKisINTEGER. The number of elementary reflectors whose product defines the matrixQ. IfSIDE = 'L',M >= K >= 0; ifSIDE = 'R',N >= K >= 0. βAβAisREAL 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. πLDAβLDAisINTEGER. The leading dimension of the arrayA. IfSIDE = 'L',LDA >= max(1,M); ifSIDE = 'R',LDA >= max(1,N). πTAUβTAUisREAL array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned bySGEQRF. πCβCisREAL array, dimension (LDC,N). On entry, theM-by-NmatrixC. On exit,Cis overwritten byQ*CorQ**T*CorC*Q**TorC*Q. π₯LDCβLDCisINTEGER. The leading dimension of the arrayC.LDC >= max(1,M). πWORKβWORKisREAL array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. π§LWORKβLWORKisINTEGER. 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βINFOisINTEGER.= 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 166 of file sormqr.f. β¨
π Author π
Generated automatically by Doxygen for LAPACK from the source code. πΈ
Ok bye bestie π«Ά this pageβs footer vibe is LAPACK Version 3.12.0 and SRC/sormqr.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