CUNGLQ(3)
π
CUNGLQ(3) β Library Functions Manual, but make it group-chat π
okay bestie, welcome to the CUNGLQ(3) page from the Library Functions Manual. This is your LAPACK girlie, and we're about to get into orthonormal rows, workspace queries, and every single parameter. no cap. β¨
π¦ NAME π¦
The NAME section is literally this file path, and I'm obsessed with how specific it is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cunglq.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine CUNGLQ (m, n, k, a, lda, tau, work, lwork, info)βCUNGLQ
π Function/Subroutine Documentation π
Here's the full glow-up signature, bestie β keep it exactly like this:
subroutine CUNGLQ (integer m, integer n, integer k, complex, dimension( lda,
* ) a, integer lda, complex, dimension( * ) tau, complex, dimension( * )
work, integer lwork, integer info)
It's giving CUNGLQ. π
π Purpose π
The purpose block is serving:
!>
!> CUNGLQ 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.
!>
π Parameters π
π« M π«
M is INTEGER β the number of rows of the matrix Q. M >= 0.
π« N π«
N is INTEGER β the number of columns of the matrix Q. N >= M.
π« K π«
K is INTEGER β the number of elementary reflectors whose product defines the matrix Q. M >= K >= 0.
π« A π«
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 π«
LDA is INTEGER β the first dimension of the array A. LDA >= max(1,M).
π« TAU π«
TAU is COMPLEX array, dimension (K) β TAU(i) must contain the scalar factor of the elementary reflector H(i), as returned by CGELQF.
π« WORK π«
WORK is COMPLEX array, dimension (MAX(1,LWORK)) β on exit, if INFO = 0, WORK(1) returns the optimal LWORK.
π« LWORK π«
LWORK is INTEGER β the dimension of the array WORK. LWORK >= max(1,M). For optimum performance LWORK >= M*NB, where NB is the optimal blocksize.
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.
π« INFO π«
INFO is INTEGER
= 0: successful exit;< 0: ifINFO = -i, the i-th argument has an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 126 of file cunglq.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
byeee bestie π final footer energy: LAPACK Version 3.12.0 β /home/abui...RC/cunglq.f(3) π
π¦ 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