SRC/cungr2.f(3)
β¨ SRC/cungr2.f(3) β¨
okay bestie, this is the Library Functions Manual page for SRC/cungr2.f(3). It's giving LAPACK subroutine energy, and it's lowkey iconic. π¦
π NAME π
SRC/cungr2.f
β¨ SYNOPSIS β¨
π οΈ Functions/Subroutines π οΈ
subroutine cungr2 (m, n, k, a, lda, tau, work, info)β bestie,CUNGR2generates all or part of the unitary matrixQfrom an RQ factorization determined bycgerqf(unblocked algorithm). β¨
π Function/Subroutine Documentation π
subroutine cungr2 (integer m, integer n, integer k, complex, dimension( lda,
* ) a, integer lda, complex, dimension( * ) tau, complex, dimension( * )
work, integer info)
CUNGR2 generates all or part of the unitary matrix Q from an RQ factorization determined by cgerqf (unblocked algorithm).
π― Purpose π―
!>
!> CUNGR2 generates an m by n complex matrix Q with orthonormal rows,
!> which is defined as the last m rows of a product of k elementary
!> reflectors of order n
!>
!> Q = H(1)**H H(2)**H . . . H(k)**H
!>
!> as returned by CGERQF.
!>
π§Έ Parameters π§Έ
MβM is INTEGER; the number of rows of the matrixQ.M >= 0.NβN is INTEGER; the number of columns of the matrixQ.N >= M.KβK is INTEGER; the number of elementary reflectors whose product defines the matrixQ.M >= K >= 0.AβA is COMPLEX array, dimension (LDA,N). On entry, the(m-k+i)-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byCGERQFin the lastkrows of its array argumentA. On exit, them-by-nmatrixQ.LDAβLDA is INTEGER; the first dimension of the arrayA.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 byCGERQF.WORKβWORK is COMPLEX array, dimension (M).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 113 of file cungr2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
final footer sign-off, bestie: LAPACK Version 3.12.0 on SRC/cungr2.f(3) β that's the source/version line from the footer, and no extra date is printed here, 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