SRC/dorgr2.f(3)
π NAME π
welcome to SRC/dorgr2.f(3), straight out of the Library Functions Manual. bestie, the name is literally SRC/dorgr2.f β no cap, that's the whole thing, and this page is here to explain the dorgr2 subroutine.
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine dorgr2 (m, n, k, a, lda, tau, work, info)
DORGR2 generates all or part of the orthogonal matrix Q from an RQ factorization determined by sgerqf (unblocked algorithm). okay periodt, that's the official one-liner.
π¦ Function/Subroutine Documentation π¦
πΈ subroutine dorgr2 πΈ
full signature with the types, bestie β copy it exactly:
subroutine dorgr2 (integer m, integer n, integer k, double precision,
dimension( lda, * ) a, integer lda, double precision, dimension( * )
tau, double precision, dimension( * ) work, integer info)
DORGR2 generates all or part of the orthogonal matrix Q from an RQ factorization determined by sgerqf (unblocked algorithm).
π Purpose π
the source says it like this, verbatim:
!>
!> DORGR2 generates an m by n real matrix Q with orthonormal rows,
!> which is defined as the last m rows of a product of k elementary
!> reflectors of order n
!>
!> Q = H(1) H(2) . . . H(k)
!>
!> as returned by DGERQF.
!>
so yes: Q is an m by n real matrix, it has orthonormal rows, and it's the last m rows of a product of k elementary reflectors of order n, as returned by DGERQF. iconic behavior, honestly.
π Parameters π
MβM is INTEGER. it's the number of rows of the matrixQ, andM >= 0. no cap.NβN is INTEGER. it's the number of columns of the matrixQ, andN >= M.KβK is INTEGER. it's the number of elementary reflectors whose product defines the matrixQ, andM >= K >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). on entry, the(m-k+i)-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byDGERQFin the lastkrows of its array argumentA. on exit, thembynmatrixQ. she's doing a whole transformation, bestie.LDAβLDA is INTEGER. it's the first dimension of the arrayA, andLDA >= max(1,M).TAUβTAU is DOUBLE PRECISION array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byDGERQF.WORKβWORK is DOUBLE PRECISION array, dimension (M). that's the spec:DOUBLE PRECISION array, dimension(M).INFOβINFO is INTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument has an illegal value. so if it's negative, check your arguments, bestie.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 113 of file dorgr2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
k bye bestie β this page is from LAPACK Version 3.12.0 and lives at SRC/dorgr2.f(3). π
β¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms