CUNGHR(3)
π CUNGHR(3) β Library Functions Manual π
okay bestie, welcome to CUNGHR(3), the LAPACK page that is literally all about generating a complex unitary matrix and looking iconic while doing it. No cap, this is some main-character linear algebra energy. β¨
π NAME π
The NAME section is just this path, periodt:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cunghr.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CUNGHR (n, ilo, ihi, a, lda, tau, work, lwork, info)
CUNGHR
πΈ Function/Subroutine Documentation πΈ
subroutine CUNGHR (integer n, integer ilo, integer ihi, complex, dimension(
lda, * ) a, integer lda, complex, dimension( * ) tau, complex,
dimension( * ) work, integer lwork, integer info)
CUNGHR
π¦ Purpose π¦
CUNGHR generates a complex unitary matrix Q which is defined as the product of IHI-ILO elementary reflectors of order N, as returned by CGEHRD:
Q = H(ilo) H(ilo+1) . . . H(ihi-1).
π Parameters π
NβN is INTEGER; the order of the matrixQ.N >= 0.ILOβILO is INTEGER.IHIβIHI is INTEGER.ILOandIHImust have the same values as in the previous call ofCGEHRD.Qis equal to the unit matrix except in the submatrixQ(ilo+1:ihi,ilo+1:ihi).1 <= ILO <= IHI <= N, ifN > 0;ILO=1andIHI=0, ifN=0.AβA is COMPLEX array, dimension (LDA,N). On entry, the vectors which define the elementary reflectors, as returned byCGEHRD. On exit, theN-by-Nunitary matrixQ.LDAβLDA is INTEGER; the leading dimension of the arrayA.LDA >= max(1,N).TAUβTAU is COMPLEX array, dimension (N-1).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byCGEHRD.WORKβWORK is COMPLEX array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORK is INTEGER; the dimension of the arrayWORK.LWORK >= IHI-ILO. For optimum performanceLWORK >= (IHI-ILO)*NB, 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: 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 125 of file cunghr.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
sign-off era π«Άπ
the footer says LAPACK Version 3.12.0, and the source path vibe is /home/abui...RC/cunghr.f(3). The original page doesn't list a date, so I'm not inventing one β but that version/source combo is the whole footer moment. β¨
π¦ 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