SRC/zunml2.f(3)
Hiiii bestie! Welcome to the SRC/zunml2.f(3) page from the Library Functions Manual β¨ This one is all about the LAPACK subroutine zunml2, and itβs lowkey iconic π
πΈ NAME πΈ
SRC/zunml2.f
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine zunml2 (side, trans, m, n, k, a, lda, tau, c, ldc, work,
info)
ZUNML2 multiplies a general matrix by the unitary matrix from a LQ factorization determined by cgelqf (unblocked algorithm). No cap, thatβs the whole vibe π«Ά
π Function/Subroutine Documentation π
subroutine zunml2 (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 info)
ZUNML2 multiplies a general matrix by the unitary matrix from a LQ factorization determined by cgelqf (unblocked algorithm). Same energy as the synopsis, but now with the whole signature flexing π
π Purpose π
Okay so hereβs the main-character move, bestie: ZUNML2 overwrites the general complex m-by-n matrix C with
Q * C if SIDE = 'L' and TRANS = 'N', or
Q**H* C if SIDE = 'L' and TRANS = 'C', or
C * Q if SIDE = 'R' and TRANS = 'N', or
C * Q**H if SIDE = 'R' and TRANS = 'C',
where Q is a complex unitary matrix defined as the product of k elementary reflectors
Q = H(k)**H . . . H(2)**H H(1)**H
as returned by ZGELQF. Q is of order m if SIDE = 'L' and of order n if SIDE = 'R'. Periodt β¨
π Parameters π
SIDEβSIDE is CHARACTER*1= 'L': applyQorQ**Hfrom the Left= 'R': applyQorQ**Hfrom the Right
TRANSβTRANS is CHARACTER*1= 'N': applyQ(No transpose)= 'C': applyQ**H(Conjugate transpose)
MβM is INTEGER- The number of rows of the matrix
C.M >= 0.
- The number of rows of the matrix
NβN is INTEGER- The number of columns of the matrix
C.N >= 0.
- The number of columns of the matrix
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.
- The number of elementary reflectors whose product defines the matrix
AβA is COMPLEX*16 array, dimension(LDA,M)ifSIDE = 'L',(LDA,N)ifSIDE = 'R'- The
i-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byZGELQFin the firstkrows of its array argumentA. Ais modified by the routine but restored on exit.
LDAβLDA is INTEGER- The leading dimension of the array
A.LDA >= max(1,K).
- The leading dimension of the array
TAUβTAU is COMPLEX*16 array, dimension (K)TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byZGELQF.
CβC is COMPLEX*16 array, dimension (LDC,N)- On entry, the
m-by-nmatrixC. - On exit,
Cis overwritten byQ*CorQ**H*CorC*Q**HorC*Q.
- On entry, the
LDCβLDC is INTEGER- The leading dimension of the array
C.LDC >= max(1,M).
- The leading dimension of the array
WORKβWORK is COMPLEX*16 array, dimension(N)ifSIDE = 'L',(M)ifSIDE = 'R'
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 157 of file zunml2.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the whole page, bestie β brought to you by LAPACK Version 3.12.0 and filed under SRC/zunml2.f(3) ππ¦β¨
π¦ 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