DORGLQ(3)
β¨ DORGLQ(3) β¨
okay so bestie, welcome to the DORGLQ glow-up page π
this is a LAPACK manual page, specifically for the file
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dorglq.f
yes that is literally the whole NAME section, it's giving "my name is my address" energy and honestly? iconic π
π SYNOPSIS π
Functions/Subroutines
subroutine DORGLQ (m, n, k, a, lda, tau, work, lwork, info)β DORGLQ π¦
πΈ Function/Subroutine Documentation πΈ
subroutine DORGLQ (integer m, integer n, integer k, double precision,
dimension( lda, * ) a, integer lda, double precision, dimension( * )
tau, double precision, dimension( * ) work, integer lwork, integer info)
DORGLQ π
β Purpose β
!>!> DORGLQ generates an M-by-N real 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(2) H(1)!>!> as returned by DGELQF.!>
so basically it builds you a real M-by-N matrix Q whose rows are orthonormal (slay), and Q is the first M rows of that big product of K elementary reflectors of order N, the ones DGELQF handed you earlier π«Ά no cap, that's the whole vibe.
π¦ Parameters π¦
M
!> M is INTEGER!> The number of rows of the matrix Q. M >= 0.!>
the row count for Q, and M >= 0 β can't have negative rows bestie π
N
!> N is INTEGER!> The number of columns of the matrix Q. N >= M.!>
the column count for Q, with N >= M (that's a whole constraint, respect it π)
K
!> K is INTEGER!> The number of elementary reflectors whose product defines the!> matrix Q. M >= K >= 0.!>
how many elementary reflectors are in the product β M >= K >= 0 periodt.
A
!> A is DOUBLE PRECISION 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 DGELQF in the first k rows of its array argument A.!> On exit, the M-by-N matrix Q.!>
on entry, row i holds the vector defining H(i) for i = 1,2,...,k, exactly as DGELQF gave it back in the first k rows of its A. on exit? boom, it's the M-by-N matrix Q. glow-up complete β¨
LDA
!> LDA is INTEGER!> The first dimension of the array A. LDA >= max(1,M).!>
the first dimension of A, and LDA >= max(1,M) β lowercase max because Fortran, we don't question it π
TAU
!> TAU is DOUBLE PRECISION array, dimension (K)!> TAU(i) must contain the scalar factor of the elementary!> reflector H(i), as returned by DGELQF.!>
TAU(i) carries the scalar factor of H(i), again straight from DGELQF π
WORK
!> WORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK))!> On exit, if INFO = 0, WORK(1) returns the optimal LWORK.!>
the workspace, size MAX(1,LWORK). on exit, if INFO = 0, then WORK(1) tells you the optimal LWORK β a little gift π
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.!>
size of WORK, needs LWORK >= max(1,M). for optimum performance you want LWORK >= M*NB where NB is the optimal blocksize π₯ and bestie, listen: if LWORK = -1 it's a workspace query β it only computes the optimal WORK size, drops it in the first entry of WORK, and XERBLA issues no error message about LWORK. so cute of it.
INFO
!> INFO is INTEGER!> = 0: successful exit!> < 0: if INFO = -i, the i-th argument has an illegal value!>
= 0 means successful exit π and < 0 means if INFO = -i, the i-th argument had an illegal value π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
legendary lineup fr fr π
Definition at line 126 of file dorglq.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole page bestie, hope you understood it, mwah π«Ά
LAPACK Β· Version 3.12.0 Β· /home/abui...RC/dorglq.f(3) β ty for reading, go write some orthonormal rows, ily πβ¨π
π¦ 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