SRC/zungqr.f(3)
πΈ NAME πΈ
okay so this is SRC/zungqr.f(3) from the Library Functions Manual, and the NAME on the tin is literally SRC/zungqr.f. bestie, we are deep in LAPACK land and the routine is ZUNGQR π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
Functions/Subroutines
subroutine zungqr (m, n, k, a, lda, tau, work, lwork, info)
ZUNGQR
π«Ά Function/Subroutine Documentation π«Ά
subroutine zungqr (integer m, integer n, integer k, complex*16, dimension(
lda, * ) a, integer lda, complex*16, dimension( * ) tau, complex*16,
dimension( * ) work, integer lwork, integer info)
ZUNGQR
π Purpose π
okay so ZUNGQR generates an M-by-N complex matrix Q with orthonormal columns, and it's defined as the first N columns of a product of K elementary reflectors of order M:
Q = H(1) H(2) . . . H(k)
as returned by ZGEQRF. slay β¨
π Parameters π
MβM is INTEGERand it's the number of rows of the matrixQ. Constraint:M >= 0. π«ΆNβN is INTEGERand it's the number of columns of the matrixQ. Constraint:M >= N >= 0. πΈKβK is INTEGER; it's the number of elementary reflectors whose product defines the matrixQ. Constraint:N >= K >= 0. πAβA is COMPLEX*16 array, dimension (LDA,N). On entry, thei-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byZGEQRFin the firstkcolumns of its array argumentA. On exit, theM-by-NmatrixQ. β¨LDAβLDA is INTEGER; it's the first dimension of the arrayA. Constraint:LDA >= max(1,M). πTAUβTAU is COMPLEX*16 array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byZGEQRF. π¦WORKβWORK is COMPLEX*16 array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. πLWORKβLWORK is INTEGER; it's the dimension of the arrayWORK. Constraint:LWORK >= max(1,N). For optimum performanceLWORK >= N*NB, whereNBis the optimal blocksize. π if you setLWORK = -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 zungqr.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π that's the whole page, bestie. footer sign-off vibes: source SRC/zungqr.f(3) with LAPACK Version 3.12.0 β no separate date in the footer, so I'm not inventing one. πβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms