SRC/dormrz.f(3)
okay so this is the SRC/dormrz.f page from the Library Functions Manual β group-chat welcome, bestie, because weβre about to get into DORMRZ and its orthogonal-matrix product era π
β¨
πΈ NAME πΈ
SRC/dormrz.f
β¨ SYNOPSIS β¨
π§© Functions/Subroutines π§©
Hereβs the signature, exactly as it appears, no cap:
subroutine dormrz (side, trans, m, n, k, l, a, lda, tau, c, ldc, work,
lwork, info)
DORMRZ π
π Function/Subroutine Documentation π
Signature again, now with the full types doing their thing:
subroutine dormrz (character side, character trans, integer m, integer n,
integer k, integer l, double precision, dimension( lda, * ) a, integer
lda, double precision, dimension( * ) tau, double precision, dimension(
ldc, * ) c, integer ldc, double precision, dimension( * ) work, integer
lwork, integer info)
DORMRZ π
π― Purpose: π―
DORMRZ 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 DTZRZF. 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.LβLisINTEGER. The number of columns of the matrixAcontaining the meaningful part of the Householder reflectors. IfSIDE = 'L',M >= L >= 0, ifSIDE = 'R',N >= L >= 0.AβAisDOUBLE PRECISION array, dimension(LDA,M)ifSIDE = 'L',(LDA,N)ifSIDE = 'R'. The i-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byDTZRZFin the lastkrows of its array argumentA.Ais modified by the routine but restored on exit.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,K).TAUβTAUisDOUBLE PRECISION array, dimension(K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byDTZRZF.CβCisDOUBLE PRECISION array, dimension(LDC,N). On entry, theM-by-NmatrixC. On exit,Cis overwritten byQ*CorQ**H*CorC*Q**HorC*Q.LDCβLDCisINTEGER. The leading dimension of the arrayC.LDC >= max(1,M).WORKβWORKisDOUBLE PRECISION 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, the i-th argument had an illegal value.
βοΈ Author βοΈ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π«Ά Contributors: π«Ά
- A. Petitet, Computer Science Dept., Univ. of Tenn., Knoxville, USA
π Further Details: π
bestie, the original section is literally just this tiny marker: !> β no extra lore, just that π«Ά
π Definition at line 185 of file dormrz.f π
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
π okay thatβs the whole page, bestie β cute sign-off from LAPACK Version 3.12.0, page SRC/dormrz.f(3), and thatβs the footer vibe; the original didnβt include a date, so Iβm not inventing one πβ¨
π¦ 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