CUNGLQ(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… 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.

If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA.

πŸ’« INFO πŸ’«

INFO is INTEGER

  • = 0: successful exit;
  • < 0: if INFO = -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