CUNGQL(3)
okay bestie, welcome to the cungql.f(3) page from the Library Functions Manual β yes, the one and only β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cungql.f
β¨ SYNOPSIS β¨
Functions/Subroutines β the icon itself:
subroutine CUNGQL (m, n, k, a, lda, tau, work, lwork, info)
CUNGQL
The CUNGQL girlie is here to generate your complex matrix Q, no cap π«
π Function/Subroutine Documentation π
subroutine CUNGQL (integer m, integer n, integer k, complex, dimension( lda,
* ) a, integer lda, complex, dimension( * ) tau, complex, dimension( * )
work, integer lwork, integer info)
CUNGQL
π― Purpose π―
okay so listen: CUNGQL generates an M-by-N complex matrix Q with orthonormal columns. Itβs defined as the last N columns of a product of K elementary reflectors of order M:
Q = H(k) . . . H(2) H(1)
as returned by CGEQLF. periodt π
πΈ Parameters πΈ
MβM is INTEGER. Itβs the number of rows of the matrixQ. Requirement:M >= 0.NβN is INTEGER. Itβs the number of columns of the matrixQ. Requirement:M >= N >= 0.KβK is INTEGER. Itβs the number of elementary reflectors whose product defines the matrixQ. Requirement:N >= K >= 0.AβA is COMPLEX array, dimension (LDA,N). On entry, the(n-k+i)-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byCGEQLFin the lastkcolumns of its array argumentA. On exit, itβs theM-by-NmatrixQ. glow-up complete β¨LDAβLDA is INTEGER. The first dimension of the arrayA. Requirement:LDA >= max(1,M).TAUβTAU is COMPLEX array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byCGEQLF.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. Requirement:LWORK >= max(1,N). For optimum performance,LWORK >= N*NB, whereNBis the optimal blocksize.
π«Ά special case alert: 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 has an illegal value.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 127 of file cungql.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β this page is signing off from LAPACK Version 3.12.0 at /home/abui...RC/cungql.f(3), and honestly? iconic ππ¦
π¦ 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