ZUNMQL(3)
π NAME
okay so bestie, this is <pink>zunmql.f</pink> β that's the source file living at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zunmql.f, and it's a page from the Library Functions Manual (section 3, iykyk). Slay, let's get into it. π¦
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ZUNMQL (side, trans, m, n, k, a, lda, tau, c, ldc, work,
lwork, info)
ZUNMQL β that's the whole vibe, literally. π
π FUNCTION/SUBROUTINE DOCUMENTATION π
subroutine ZUNMQL (character side, character trans, integer m, integer n,
integer k, 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)
ZUNMQL again, because she's the main character and she knows it. π
πΈ Purpose
fr fr, here's what she does. ZUNMQL 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 defined as the product of k elementary reflectors:
Q = H(k) . . . H(2) H(1)
exactly as returned by ZGEQLF. Not me stanning a factorization routine but here we are. π And listen: Q is of order M if SIDE = 'L', and of order N if SIDE = 'R'. That's the whole ballgame.
β¨ Parameters
SIDE
SIDE is CHARACTER*1
= 'L': applyQorQ**Hfrom the Left;= 'R': applyQorQ**Hfrom the Right.
TRANS
TRANS is CHARACTER*1
= 'N': No transpose, applyQ;= 'C': Conjugate transpose, applyQ**H.
M
M is INTEGER
- The number of rows of the matrix
C.M >= 0.
N
N is INTEGER
- The number of columns of the matrix
C.N >= 0.
K
K is INTEGER
- The number of elementary reflectors whose product defines the matrix
Q. - If
SIDE = 'L',M >= K >= 0; - if
SIDE = 'R',N >= K >= 0.
A
A is COMPLEX*16 array, dimension (LDA,K)
- The
i-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byZGEQLFin the lastkcolumns of its array argumentA.
LDA
LDA is INTEGER
- The leading dimension of the array
A. - If
SIDE = 'L',LDA >= max(1,M); - if
SIDE = 'R',LDA >= max(1,N).
TAU
TAU is COMPLEX*16 array, dimension (K)
TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byZGEQLF.
C
C is COMPLEX*16 array, dimension (LDC,N)
- On entry, the M-by-N matrix
C. - On exit,
Cis overwritten byQ*CorQ**H*CorC*Q**HorC*Q.
she gets rewritten, bestie β your original C is gone, no cap. π
LDC
LDC is INTEGER
- The leading dimension of the array
C.LDC >= max(1,M).
WORK
WORK is COMPLEX*16 array, dimension (MAX(1,LWORK))
- On exit, if
INFO = 0,WORK(1)returns the optimalLWORK.
LWORK
LWORK is INTEGER
- The dimension of the array
WORK. - If
SIDE = 'L',LWORK >= max(1,N); - if
SIDE = 'R',LWORK >= max(1,M). - For good performance,
LWORKshould generally be larger.
π«Ά okay but here's the iconic bit: 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. It's giving "just asking, not committing." β¨
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 165 of file zunmql.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code. The robots did this one, not me. π
okay that's the whole page, mwah π β this was LAPACK, Version 3.12.0, and it's the manual page for /home/abui...RC/zunmql.f(3) in the Library Functions Manual. periodt. πβ¨
π¦ 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