ZUNMHR(3)
π ZUNMHR(3) β Library Functions Manual π
Bestie, welcome to the <hotpink>ZUNMHR</hotpink> glow-up page. Itβs giving βcomplex linear algebra but make it group-chat.β No cap, every detail is staying. π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zunmhr.f
Thatβs the file this page is about, and yes, the path is long enough to need its own emotional support water bottle. π
π¦ SYNOPSIS π¦
π§ Functions/Subroutines π§
subroutine ZUNMHR (side, trans, m, n, ilo, ihi, a, lda, tau, c, ldc,
work, lwork, info)
ZUNMHR
π Function/Subroutine Documentation π
subroutine ZUNMHR (character side, character trans, integer m, integer n,
integer ilo, integer ihi, complex*16, dimension( lda, * ) a, integer
lda, complex*16, dimension( * ) tau, complex*16, dimension( ldc, * ) c,
integer ldc, complex*16, dimension( * ) work, integer lwork, integer
info)
ZUNMHR
π Purpose π
Okay so hereβs the actual mission statement, copied exactly because we do not mess with the math:
!> ZUNMHR overwrites the general complex M-by-N matrix C with
!>
!> SIDE = 'L' SIDE = 'R'
!> TRANS = 'N': Q * C C * Q
!> TRANS = 'C': Q**H * C C * Q**H
!>
!> where Q is a complex unitary 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 ZGEHRD:
!>
!> Q = H(ilo) H(ilo+1) . . . H(ihi-1).
Translation, bestie: it takes C and overwrites it with Q * C, C * Q, Q**H * C, or C * Q**H, depending on SIDE and TRANS. The Q is a complex unitary matrix of order nq, where nq = m if SIDE = 'L' and nq = n if SIDE = 'R'. Q is built from IHI-ILO elementary reflectors, as returned by ZGEHRD, and itβs exactly Q = H(ilo) H(ilo+1) . . . H(ihi-1). Slay. π
πΈ Parameters πΈ
Every parameter, every constraint, zero skipped β because the vibes are cute but the math is not negotiable. π«Ά
SIDEβSIDE is CHARACTER*1.= 'L': apply Q or Q**H from the Left;= 'R': apply Q or Q**H from the Right.TRANSβTRANS is CHARACTER*1.= 'N': apply Q (No transpose)= 'C': apply Q**H (Conjugate 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.ILOβILO is INTEGER. Thatβs the whole note for this one; the range rules are chilling inIHIbelow. π«ΆIHIβIHI is INTEGER.ILOandIHImust have the same values as in the previous call ofZGEHRD.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.AβA is COMPLEX*16 array, dimension(LDA,M)ifSIDE = 'L';(LDA,N)ifSIDE = 'R'. The vectors which define the elementary reflectors, as returned byZGEHRD.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M)ifSIDE = 'L';LDA >= max(1,N)ifSIDE = 'R'.TAUβTAU is COMPLEX*16 array, dimension(M-1)ifSIDE = 'L';(N-1)ifSIDE = 'R'.TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byZGEHRD.CβC is COMPLEX*16 array, dimension (LDC,N). On entry, theM-by-NmatrixC. On exit,Cis overwritten byQ*CorQ**H*CorC*Q**HorC*Q.LDCβLDC is INTEGER. The leading dimension of the arrayC.LDC >= max(1,M).WORKβWORK is COMPLEX*16 array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORK is INTEGER. 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.INFOβINFO is INTEGER.= 0: successful exit;< 0: if INFO = -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 176 of file zunmhr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π cute sign-off π This page is from LAPACK Version 3.12.0, and the footer path is /home/abui...RC/zunmhr.f(3). Stay slay, bestie. πβ¨
π¦ 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