DORMHR(3)
π¦ DORMHR(3) β Library Functions Manual π¦
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dormhr.f β yes bestie, that's the source file this whole page is about. It's DORMHR, and we're gonna get into it. β¨
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine DORMHR (side, trans, m, n, ilo, ihi, a, lda, tau, c, ldc,
work, lwork, info)
DORMHR β the main character, literally.
π οΈ Function/Subroutine Documentation π οΈ
subroutine DORMHR (character side, character trans, integer m, integer n,
integer ilo, integer ihi, 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)
DORMHR β iconic signature behavior, no notes.
π― Purpose π―
DORMHR 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 of order nq, with nq = m if SIDE = 'L' and nq = n if SIDE = 'R'. Q is defined as the product of IHI-ILO elementary reflectors, as returned by DGEHRD:
Q = H(ilo) H(ilo+1) . . . H(ihi-1).
That's the whole vibe of what she does, bestie. π
π Parameters π
All the deets, no gatekeeping:
SIDEβSIDEisCHARACTER*1;= 'L': applyQorQ**Tfrom the Left;= 'R': applyQorQ**Tfrom the Right. Pick a side, bestie.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.ILOβILOisINTEGER.IHIβIHIisINTEGER.ILOandIHImust have the same values as in the previous call ofDGEHRD.Qis equal to the unit matrix except in the submatrixQ(ilo+1:ihi,ilo+1:ihi). IfSIDE = 'L', then1 <= ILO <= IHI <= M, ifM > 0, andILO = 1andIHI = 0, ifM = 0; ifSIDE = 'R', then1 <= ILO <= IHI <= N, ifN > 0, andILO = 1andIHI = 0, ifN = 0. Do not freestyle these bounds.AβAisDOUBLE PRECISIONarray, dimension(LDA,M)ifSIDE = 'L',(LDA,N)ifSIDE = 'R'; the vectors which define the elementary reflectors, as returned byDGEHRD.LDAβLDAisINTEGER; the leading dimension of the arrayA.LDA >= max(1,M)ifSIDE = 'L';LDA >= max(1,N)ifSIDE = 'R'.TAUβTAUisDOUBLE PRECISIONarray, dimension(M-1)ifSIDE = 'L',(N-1)ifSIDE = 'R';TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byDGEHRD.CβCisDOUBLE PRECISIONarray, dimension(LDC,N). On entry, theM-by-NmatrixC. On exit,Cis overwritten byQ*CorQ**T*CorC*Q**TorC*Q. She gets rewritten, periodt.LDCβLDCisINTEGER; the leading dimension of the arrayC.LDC >= max(1,M).WORKβWORKisDOUBLE PRECISIONarray, 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 optimum performanceLWORK >= N*NBifSIDE = 'L', andLWORK >= M*NBifSIDE = 'R', whereNBis the optimal blocksize. 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. Workspace query era.INFOβINFOisINTEGER;= 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 176 of file dormhr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie! Source/version vibes: LAPACK Version 3.12.0, generated from the source code, with the footer's truncated path /home/abui...RC/dormhr.f(3) β and no date on that footer line, just so you know. ππβ¨
π¦ 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