DORG2R(3)
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dorg2r.f
okay so bestie, that's the whole name, yes it's a whole file path, yes it's a lot, but that's literally what this page is about π«Ά it's a LAPACK library functions manual situation, and this is the dorg2r.f girlie herself.
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines
subroutine DORG2R (m, n, k, a, lda, tau, work, info)
DORG2R generates all or part of the orthogonal matrix Q from a QR factorization determined by sgeqrf (unblocked algorithm).
π Function/Subroutine Documentation π
subroutine DORG2R (integer m, integer n, integer k, double precision,
dimension( lda, * ) a, integer lda, double precision, dimension( * )
tau, double precision, dimension( * ) work, integer info)
DORG2R generates all or part of the orthogonal matrix Q from a QR factorization determined by sgeqrf (unblocked algorithm).
π Purpose:
!>
!> DORG2R generates an m by n real matrix Q with orthonormal columns,
!> which is defined as the first n columns of a product of k elementary
!> reflectors of order m
!>
!> Q = H(1) H(2) . . . H(k)
!>
!> as returned by DGEQRF.
!>
so like, it builds Q for you β the first n columns of that big ol' product of k elementary reflectors of order m β exactly as DGEQRF handed them back. no cap, it's giving "cleanup crew for your QR factorization" energy π₯
πΈ Parameters
- M β
MisINTEGER, the number of rows of the matrix Q.M >= 0. - N β
NisINTEGER, the number of columns of the matrix Q.M >= N >= 0. - K β
KisINTEGER, the number of elementary reflectors whose product defines the matrix Q.N >= K >= 0. - A β
AisDOUBLE PRECISION array, dimension (LDA,N). On entry, the i-th column must contain the vector which defines the elementary reflector H(i), for i = 1,2,...,k, as returned byDGEQRFin the first k columns of its array argumentA. On exit, the m-by-n matrix Q. π like she literally transforms in front of you, main character energy. - LDA β
LDAisINTEGER, the first dimension of the arrayA.LDA >= max(1,M). - TAU β
TAUisDOUBLE PRECISION array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflector H(i), as returned byDGEQRF. - WORK β
WORKisDOUBLE PRECISION array, dimension (N). that's it, that's the whole description, go off workspace π - INFO β
INFOisINTEGER.= 0: successful exit π< 0: ifINFO = -i, the i-th argument has an illegal value π
ok but fr fr if you see INFO < 0 bestie, one of your arguments is illegal and you gotta go figure out which one. the code is literally telling you the index. read it. iykyk π
β Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 113 of file dorg2r.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole page, bestie! πβ¨
this iconic little number is LAPACK Version 3.12.0, and the footer timestamp situation is /home/abui...RC/dorg2r.f(3) β slay, go forth and orthonormalize ππ¦
π¦ 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