DORGTSQR_ROW(3)
π¦ NAME π¦
okay so bestie, this is the manual page for DORGTSQR_ROW β it lives in the LAPACK Library Functions Manual (yup, that's the manual name, we're folding it in right here at the top β¨), and the file it documents is literally:
/home/abuild/rpmbuild/BUILD/lapack-
static-3.12.0-build/lapack-3.12.0/SRC/dorgtsqr_row.f
like that's the whole path, don't @ me π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DORGTSQR_ROW (m, n, mb, nb, a, lda, t, ldt, work, lwork, info)β the one and only, the main character π
π Function/Subroutine Documentation π
subroutine DORGTSQR_ROW (integer m, integer n, integer mb, integer nb,
double precision, dimension( lda, * ) a, integer lda, double precision,
dimension( ldt, * ) t, integer ldt, double precision, dimension( * )
work, integer lwork, integer info)
π Purpose π
okay so here's the tea, straight from the source (all of this is quoted comment text, no cap):
DORGTSQR_ROWgenerates an M-by-N real matrix Q_out with orthonormal columns from the output ofDLATSQR. These N orthonormal columns are the first N columns of a product of complex unitary matrices Q(k)_in of order M, which are returned byDLATSQRin a special format.
and the whole vibe is:
Q_out = first_N_columns_of( Q(1)_in * Q(2)_in * ... * Q(k)_in ).
The input matrices Q(k)_in are stored in row and column blocks in A. See the documentation of DLATSQR for more details on the format of Q(k)_in, where each Q(k)_in is represented by block Householder transformations. This routine calls an auxiliary routine DLARFB_GETT, where the computation is performed on each individual block. The algorithm first sweeps NB-sized column blocks from the right to left starting in the bottom row block and continues to the top row block (hence the _ROW in the routine name π«Ά). This sweep is in reverse order of the order in which DLATSQR generates the output blocks.
πΈ Parameters πΈ
M
MisINTEGERThe number of rows of the matrix A.M >= 0.
N
NisINTEGERThe number of columns of the matrix A.M >= N >= 0.
MB
MBisINTEGERThe row block size used byDLATSQRto return arrays A and T.MB > N. (Note that ifMB > M, then M is used instead of MB as the row block size).
NB
NBisINTEGERThe column block size used byDLATSQRto return arrays A and T.NB >= 1. (Note that ifNB > N, then N is used instead of NB as the column block size).
A
AisDOUBLE PRECISIONarray, dimension(LDA,N)On entry: The elements on and above the diagonal are not used as input. The elements below the diagonal represent the unit lower-trapezoidal blocked matrix V computed byDLATSQRthat defines the input matrices Q_in(k) (ones on the diagonal are not stored). SeeDLATSQRfor more details. On exit: The array A contains an M-by-N orthonormal matrix Q_out, i.e the columns of A are orthogonal unit vectors.
LDA
LDAisINTEGERThe leading dimension of the array A.LDA >= max(1,M).
T
TisDOUBLE PRECISIONarray, dimension(LDT, N * NIRB)whereNIRB = Number_of_input_row_blocks= MAX( 1, CEIL((M-N)/(MB-N)) )LetNICB = Number_of_input_col_blocks= CEIL(N/NB)The upper-triangular block reflectors used to define the input matrices Q_in(k),k=(1:NIRB*NICB). The block reflectors are stored in compact form in NIRB block reflector sequences. Each of the NIRB block reflector sequences is stored in a larger NB-by-N column block of T and consists of NICB smaller NB-by-NB upper-triangular column blocks. SeeDLATSQRfor more details on the format of T.
LDT
LDTisINTEGERThe leading dimension of the array T.LDT >= max(1,min(NB,N)).
WORK
(workspace)DOUBLE PRECISIONarray, dimension(MAX(1,LWORK))On exit, ifINFO = 0,WORK(1)returns the optimal LWORK.
LWORK
The dimension of the array WORK.LWORK >= NBLOCAL * MAX(NBLOCAL,(N-NBLOCAL)), whereNBLOCAL=MIN(NB,N). IfLWORK = -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 byXERBLA.
INFO
INFOisINTEGER= 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.
π§ Contributors π§
November 2020, Igor Kozachenko, Computer Science Division, University of California, Berkeley
Definition at line 186 of file dorgtsqr_row.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. (yes bestie, the robot wrote this bit π€π)
and that's the whole page β slay, you read it all! π
signing off with the source/version/date deets: LAPACK, Version 3.12.0, from /home/abui...gtsqr_row.f(3) β periodt πβ¨
π¦ 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