SRC/cunm2r.f(3)
SRC/cunm2r.f(3) β Library Functions Manual π
okay bestie, this is the page for SRC/cunm2r.f(3) from the Library Functions Manual, and it is literally giving βLAPACK girlie explains an unblocked QR reflector routineβ energy. Letβs go. β¨
πΈ NAME
SRC/cunm2r.f
β¨ SYNOPSIS
π§ Functions/Subroutines
subroutine cunm2r (side, trans, m, n, k, a, lda, tau, c, ldc, work,
info)
CUNM2R multiplies a general matrix by the unitary matrix from a QR factorization determined by cgeqrf (unblocked algorithm).
π Function/Subroutine Documentation
subroutine cunm2r (character side, character trans, integer m, integer n,
integer k, complex, dimension( lda, * ) a, integer lda, complex,
dimension( * ) tau, complex, dimension( ldc, * ) c, integer ldc,
complex, dimension( * ) work, integer info)
CUNM2R multiplies a general matrix by the unitary matrix from a QR factorization determined by cgeqrf (unblocked algorithm).
π― Purpose
okay so the whole point: CUNM2R 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(1) H(2) . . . H(k)
as returned by CGEQRF. Q is of order m if SIDE = 'L' and of order n if SIDE = 'R'.
π Parameters
SIDEβ this one isCHARACTER*1.= 'L': applyQorQ**Hfrom the Left.= 'R': applyQorQ**Hfrom the Right.TRANSβ alsoCHARACTER*1.= 'N': applyQ(No transpose).= 'C': applyQ**H(Conjugate transpose).MβINTEGER. The number of rows of the matrixC.M >= 0.NβINTEGER. The number of columns of the matrixC.N >= 0.KβINTEGER. The number of elementary reflectors whose product defines the matrixQ. IfSIDE = 'L',M >= K >= 0; ifSIDE = 'R',N >= K >= 0.AβCOMPLEX array, dimension (LDA,K). Thei-th column must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byCGEQRFin the firstkcolumns of its array argumentA.Ais modified by the routine but restored on exit.LDAβINTEGER. The leading dimension of the arrayA. IfSIDE = 'L',LDA >= max(1,M); ifSIDE = 'R',LDA >= max(1,N).TAUβCOMPLEX array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byCGEQRF.CβCOMPLEX array, dimension (LDC,N). On entry, the m-by-n matrixC. On exit,Cis overwritten byQ*CorQ**H*CorC*Q**HorC*Q.LDCβINTEGER. The leading dimension of the arrayC.LDC >= max(1,M).WORKβCOMPLEX array, dimension (N) if SIDE = 'L', (M) if SIDE = 'R'.INFOβ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 cunm2r.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
bestie, thatβs the whole page β footer vibes included: LAPACK Version 3.12.0, page SRC/cunm2r.f(3). Now go slay your QR factorization πβ¨
π¦ 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