SRC/cungtsqr_row.f(3)
π SRC/cungtsqr_row.f(3) π
okay bestie, welcome to the Library Functions Manual page for SRC/cungtsqr_row.f β yes, we're doing Fortran LAPACK things and it's giving main character energy. π
πΈ NAME πΈ
SRC/cungtsqr_row.f
β¨ SYNOPSIS β¨
π Functions/Subroutines
subroutine cungtsqr_row (m, n, mb, nb, a, lda, t, ldt, work, lwork,
info)
CUNGTSQR_ROW
π¦ Function/Subroutine Documentation π¦
subroutine cungtsqr_row (integer m, integer n, integer mb, integer nb,
complex, dimension( lda, * ) a, integer lda, complex, dimension( ldt, *
) t, integer ldt, complex, dimension( * ) work, integer lwork, integer
info)
CUNGTSQR_ROW
π― Purpose
okay so CUNGTSQR_ROW generates an M-by-N complex matrix Q_out with orthonormal columns from the output of CLATSQR. These N orthonormal columns are literally the first N columns of a product of complex unitary matrices Q(k)_in of order M, which are returned by CLATSQR in a special format.
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 CLATSQR 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 CLARFB_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 _ROW in the routine name). This sweep is in reverse order of the order in which CLATSQR generates the output blocks. periodt. π₯
π Parameters π
MβM is INTEGER. The number of rows of the matrixA.M >= 0.NβN is INTEGER. The number of columns of the matrixA.M >= N >= 0.MBβMB is INTEGER. The row block size used byCLATSQRto return arraysAandT.MB > N. (Note that ifMB > M, thenMis used instead ofMBas the row block size).NBβNB is INTEGER. The column block size used byCLATSQRto return arraysAandT.NB >= 1. (Note that ifNB > N, thenNis used instead ofNBas the column block size).AβA is COMPLEX array, 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
Vcomputed byCLATSQRthat defines the input matricesQ_in(k)(ones on the diagonal are not stored). SeeCLATSQRfor more details. - On exit: the array
Acontains anM-by-Northonormal matrixQ_out, i.e the columns ofAare orthogonal unit vectors.
- 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
LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).TβT is COMPLEX array, 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. See CLATSQR for more details on the format of T.
LDTβLDT is INTEGER. The leading dimension of the arrayT.LDT >= max(1,min(NB,N)).WORKβ(workspace) COMPLEX array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORK is INTEGER. The dimension of the arrayWORK.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 theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA.INFOβINFO is INTEGER.= 0: successful exit< 0: ifINFO = -i, thei-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 187 of file cungtsqr_row.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie π this one is from LAPACK Version 3.12.0, source path SRC/cungtsqr_row.f(3), and the footer says it was generated automatically by Doxygen for LAPACK from the source code. byeee π«Άβ¨
π¦ 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