SGEMQR(3)
πΈ NAME πΈ
Okay bestie, the name on this one is literally the file path: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgemqr.f. And the manual name is Library Functions Manual β folded in here near the top like a little name tag. This is SGEMQR(3), and she is ready to spill the QR tea. π
β¨ SYNOPSIS β¨
Functions/Subroutines π¦
- Function:
SGEMQR
subroutine SGEMQR (side, trans, m, n, k, a, lda, t, tsize, c, ldc, work,
lwork, info)
Description: SGEMQR. That's it, that's the icon. π
π Function/Subroutine Documentation π
subroutine SGEMQR (character side, character trans, integer m, integer n,
integer k, real, dimension( lda, * ) a, integer lda, real, dimension( *
) t, integer tsize, real, dimension( ldc, * ) c, integer ldc, real,
dimension( * ) work, integer lwork, integer info)
And the star of the show is SGEMQR. Main character energy fr fr. π
Purpose π
SGEMQR 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 blocked elementary reflectors computed by tall skinny QR factorization (SGEQR).
Parameters π
SIDEβSIDEisCHARACTER*1, bestie:= 'L': apply Q or Q**T from the Left;and= 'R': apply Q or Q**T from the Right.TRANSβTRANSisCHARACTER*1:= 'N': No transpose, apply Q;and= 'T': Transpose, apply Q**T.MβMisINTEGER; the number of rows of the matrixA.M >=0.NβNisINTEGER; the number of columns of the matrixC.N >= 0.KβKisINTEGER; the number of elementary reflectors whose product defines the matrixQ. IfSIDE = 'L',M >= K >= 0; ifSIDE = 'R',N >= K >= 0.AβAisREAL array, dimension(LDA,K). Part of the data structure to representQas returned bySGEQR.LDAβLDAisINTEGER; the leading dimension of the arrayA. IfSIDE = 'L',LDA >= max(1,M); ifSIDE = 'R',LDA >= max(1,N).TβTisREAL array, dimension(MAX(5,TSIZE)). Part of the data structure to representQas returned bySGEQR.TSIZEβTSIZEisINTEGER; the dimension of the arrayT.TSIZE >= 5.CβCisREAL array, dimension(LDC,N). On entry, the M-by-N matrixC. On exit,Cis overwritten byQ*CorQ**T*CorC*Q**TorC*Q.LDCβLDCisINTEGER; the leading dimension of the arrayC.LDC >= max(1,M).WORKβ(workspace) REAL array, dimension(MAX(1,LWORK)).LWORKβLWORKisINTEGER; the dimension of the arrayWORK. IfLWORK = -1, then a workspace query is assumed. The routine only calculates the size of theWORKarray, returns this value asWORK(1), and no error message related toWORKis issued byXERBLA.INFOβINFOisINTEGER:= 0: successful exit;< 0: 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.
Further Details π
These details are particular for this LAPACK implementation. Users should not take them for granted. These details may change in the future, and are not likely true for another LAPACK implementation. These details are relevant if one wants to try to understand the code. They are not part of the interface.
In this version,
T(2): row block size (MB)T(3): column block size (NB)T(6:TSIZE): data structure needed for Q, computed bySLATSQRorSGEQRT
Depending on the matrix dimensions M and N, and row and column block sizes MB and NB returned by ILAENV, SGEQR will use either SLATSQR (if the matrix is tall-and-skinny) or SGEQRT to compute the QR factorization. This version of SGEMQR will use either SLAMTSQR or SGEMQRT to multiply matrix Q by another matrix. Further Details in SLAMTSQR or SGEMQRT.
Definition at line 172 of file sgemqr.f. π
Definition at line 172 of file sgemqr.f.
Author π
Generated automatically by Doxygen for LAPACK from the source code.
π That's the whole page, bestie! Footer source/version check: LAPACK Version 3.12.0 and /home/abui...RC/sgemqr.f(3). No date is shown in that footer, just the version and that path β and the manual name up top was Library Functions Manual. Slay. πβ¨
π¦ 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