CUNGL2(3)
π NAME π
ok so bestie, this is the manual page for /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cungl2.f β yes that's the whole entire path, she's extra like that, we stan a file system icon β¨ (it's a cungl2.f situation, LAPACK-static-3.12.0-build coded, no notes π)
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
subroutine CUNGL2 (m, n, k, a, lda, tau, work, info)β CUNGL2 generates all or part of the unitary matrix Q from an LQ factorization determined by cgelqf (unblocked algorithm). like, that's her whole job and she does it flawlessly π
π Function/Subroutine Documentation π
subroutine CUNGL2 (integer m, integer n, integer k, complex, dimension( lda, * ) a, integer lda, complex, dimension( * ) tau, complex, dimension( * ) work, integer info)
so CUNGL2 generates all or part of the unitary matrix Q from an LQ factorization determined by cgelqf (unblocked algorithm). that's the vibe check and she PASSED π
π¦ Purpose π¦
ok so listen up bestie, here's the tea, quoted with love:
!>
!> CUNGL2 generates an m-by-n complex matrix Q with orthonormal rows,
!> which is defined as the first m rows of a product of k elementary
!> reflectors of order n
!>
!> Q = H(k)**H . . . H(2)**H H(1)**H
!>
!> as returned by CGELQF.
!>
like, m-by-n, orthonormal rows, the first m rows of that product of k elementary reflectors of order n, exactly as CGELQF handed them to her. no cap, that formula is lowkey iconic π₯
π§ Parameters π§
MβMisINTEGER, and it's the number of rows of the matrix Q. the rule isM >= 0(respect the boundary, she's not negotiable about it) β¨
!> M is INTEGER
!> The number of rows of the matrix Q. M >= 0.
!>
NβNisINTEGER, the number of columns of the matrix Q. and heads up:N >= M. that's the law, bestie π
!> N is INTEGER
!> The number of columns of the matrix Q. N >= M.
!>
KβKisINTEGERand it's the number of elementary reflectors whose product defines the matrix Q. constraint:M >= K >= 0. sandwiched between two bounds, main character energy honestly π
!> K is INTEGER
!> The number of elementary reflectors whose product defines the
!> matrix Q. M >= K >= 0.
!>
AβAis aCOMPLEXarray, dimension(LDA,N). on entry, the i-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned by CGELQF in the first k rows of its array argumentA. on exit? boom, she's the m by n matrix Q. full glow-up transformation, we love a before-and-after π
!> A is COMPLEX array, dimension (LDA,N)
!> On entry, the i-th row must contain the vector which defines
!> the elementary reflector H(i), for i = 1,2,...,k, as returned
!> by CGELQF in the first k rows of its array argument A.
!> On exit, the m by n matrix Q.
!>
LDAβLDAisINTEGER, the first dimension of the arrayA. requirement:LDA >= max(1,M). don't skimp on the leading dimension, she WILL notice π«Ά
!> LDA is INTEGER
!> The first dimension of the array A. LDA >= max(1,M).
!>
TAUβTAUis aCOMPLEXarray, dimension(K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned by CGELQF. she's the little scalar factor that could π
!> TAU is COMPLEX array, dimension (K)
!> TAU(i) must contain the scalar factor of the elementary
!> reflector H(i), as returned by CGELQF.
!>
WORKβWORKis aCOMPLEXarray, dimension(M). that's it, that's the whole description, she's a workspace and she's thriving πΈ
!> WORK is COMPLEX array, dimension (M)
!>
INFOβINFOisINTEGER, the exit report card:= 0: successful exit π slay< 0: ifINFO = -i, the i-th argument has an illegal value π someone put a bad value in, not her fault fr fr
!> INFO is INTEGER
!> = 0: successful exit
!> < 0: if INFO = -i, the i-th argument has an illegal value
!>
β Author β
the legends behind the code, in their natural habitat:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 112 of file cungl2.f. π
yes bestie, line 112, that's exactly where it lives, go look, she's right there π¦
π Author π
Generated automatically by Doxygen for LAPACK from the source code. like, a robot made this heading, not me, i'm just the messenger π
ok and that's the whole page!! everything above is LAPACK Version 3.12.0, dated/home/abui...RC/cungl2.f(3), from the source at/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cungl2.fβ mwah, go call her with the rightLDA, ily, bye π«Άππ
π¦ 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