CUNGTR(3)
πΈ NAME πΈ
okay so bestie π welcome to cungtr.f(3) from the Library Functions Manual β manual name folded in near the top so we donβt have to copy that dusty header line. Header path tea: /home/abui...RC/cungtr.f(3).
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cungtr.f β thatβs the source file this page is repping, no cap.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CUNGTR (uplo, n, a, lda, tau, work, lwork, info)
CUNGTR
π¦ Function/Subroutine Documentation π¦
subroutine CUNGTR (character uplo, integer n, complex, dimension( lda, * )
a, integer lda, complex, dimension( * ) tau, complex, dimension( * )
work, integer lwork, integer info)
CUNGTR
π Purpose π
CUNGTR generates a complex unitary matrix Q which is defined as the product of n-1 elementary reflectors of order N, as returned by CHETRD:
if UPLO = 'U', Q = H(n-1) . . . H(2) H(1),
if UPLO = 'L', Q = H(1) H(2) . . . H(n-1).
π Parameters π
UPLOβUPLOisCHARACTER*1;= 'U': upper triangle ofAcontains elementary reflectors fromCHETRD;= 'L': lower triangle ofAcontains elementary reflectors fromCHETRD.NβNisINTEGER; the order of the matrixQ.N >= 0.AβAisCOMPLEXarray, dimension(LDA,N). On entry, the vectors which define the elementary reflectors, as returned byCHETRD. On exit, theN-by-Nunitary matrixQ.LDAβLDAisINTEGER; the leading dimension of the arrayA.LDA >= N.TAUβTAUisCOMPLEXarray, dimension(N-1).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byCHETRD.WORKβWORKisCOMPLEXarray, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORKisINTEGER; the dimension of the arrayWORK.LWORK >= N-1. For optimum performanceLWORK >= (N-1)*NB, whereNBis the optimal blocksize.
If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA.
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 line122of filecungtr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
xoxo, signed off by LAPACK Version 3.12.0, source path /home/abui...RC/cungtr.f(3) β and the date spot in this footer is literally not printed, so thatβs the date tea: none shown, 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