SRC/dormrq.f(3)
π SRC/dormrq.f(3) π
okay bestie, welcome to the SRC/dormrq.f(3) page from the Library Functions Manual. this one is literally all about DORMRQ, and itβs giving real orthogonal matrix energy β slay β¨
β¨ NAME β¨
SRC/dormrq.f
π SYNOPSIS π
π§ Functions/Subroutines π§
subroutine dormrq (side, trans, m, n, k, a, lda, tau, c, ldc, work,
lwork, info)
DORMRQ
π Function/Subroutine Documentation π
π¦ subroutine dormrq π¦
subroutine dormrq (character side, character trans, integer m, integer n,
integer k, double precision, dimension( lda, * ) a, integer lda, double
precision, dimension( * ) tau, double precision, dimension( ldc, * ) c,
integer ldc, double precision, dimension( * ) work, integer lwork,
integer info)
DORMRQ
β¨ Purpose β¨
okay so DORMRQ overwrites the general real M-by-N matrix C with:
SIDE = 'L' SIDE = 'R'
TRANS = 'N': Q * C C * Q
TRANS = 'T': Q**T * C C * Q**T
where Q is a real orthogonal matrix defined as the product of k elementary reflectors:
Q = H(1) H(2) . . . H(k)
as returned by DGERQF. no cap, Q is of order M if SIDE = 'L' and of order N if SIDE = 'R'. periodt β¨
π«Ά Parameters π«Ά
SIDEβSIDE is CHARACTER*1;= 'L': apply Q or QT from the Left;= 'R': apply Q or QT from the Right.TRANSβTRANS is CHARACTER*1;= 'N': No transpose, apply Q;= 'T': Transpose, apply Q**T.MβM is INTEGER; the number of rows of the matrix C.M >= 0.NβN is INTEGER; the number of columns of the matrix C.N >= 0.KβK is INTEGER; the number of elementary reflectors whose product defines the matrix Q. IfSIDE = 'L',M >= K >= 0; ifSIDE = 'R',N >= K >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,M) if SIDE = 'L', (LDA,N) if SIDE = 'R'. The i-th row must contain the vector which defines the elementary reflectorH(i), fori = 1,2,...,k, as returned byDGERQFin the last k rows of its array argumentA. iykyk.LDAβLDA is INTEGER; the leading dimension of the array A.LDA >= max(1,K).TAUβTAU is DOUBLE PRECISION array, dimension (K).TAU(i)must contain the scalar factor of the elementary reflectorH(i), as returned byDGERQF.CβC is DOUBLE PRECISION array, dimension (LDC,N). On entry, the M-by-N matrix C. On exit, C is overwritten byQ*CorQ**T*CorC*Q**TorC*Q.LDCβLDC is INTEGER; the leading dimension of the array C.LDC >= max(1,M).WORKβWORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORK is INTEGER; the dimension of the arrayWORK. IfSIDE = 'L',LWORK >= max(1,N); ifSIDE = 'R',LWORK >= max(1,M). For good performance,LWORKshould generally be larger. 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. obsessed with this iconic workspace-query behavior, honestly.INFOβINFO is INTEGER;= 0: successful exit;< 0: ifINFO = -i, the i-th argument had an illegal value.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 165 of file dormrq.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
footer sign-off: LAPACK Version 3.12.0, source SRC/dormrq.f(3) β no date in the footer, just vibes π«Άβ¨π
π¦ 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