SRC/cungtsqr.f(3)
SRC/cungtsqr.f π
okay bestie, welcome to the SRC/cungtsqr.f page from the Library Functions Manual β itβs giving βI do linear algebra and I do it flawlesslyβ energy β¨. Letβs break it down.
SYNOPSIS β¨
Functions/Subroutines π
subroutine cungtsqr (m, n, mb, nb, a, lda, t, ldt, work, lwork, info)βCUNGTSQR, the main character of this page π
subroutine cungtsqr (m, n, mb, nb, a, lda, t, ldt, work, lwork, info)
CUNGTSQR
Function/Subroutine Documentation π«Ά
subroutine cungtsqr (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
Purpose π
Real talk: CUNGTSQR generates an M-by-N complex matrix Q_out with orthonormal columns. Those columns are the first N columns of a product of comlpex unitary matrices of order M which are returned by CLATSQR.
Q_out = first_N_columns_of( Q(1)_in * Q(2)_in * ... * Q(k)_in ).
See the documentation for CLATSQR.
Parameters πΈ
MβMisINTEGER. The number of rows of the matrixA.M >= 0.NβNisINTEGER. The number of columns of the matrixA.M >= N >= 0.MBβMBisINTEGER. The row block size used byCLATSQRto return arraysAandT.MB > N. (Note that ifMB > M, thenMis used instead ofMBas the row block size).NBβNBisINTEGER. The column block size used byCLATSQRto return arraysAandT.NB >= 1. (Note that ifNB > N, thenNis used instead ofNBas the column block size).AβAisCOMPLEX array, dimension (LDA,N).- On entry: The elements on and above the diagonal are not accessed. 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) (same format as the outputAbelow the diagonal inCLATSQR). - 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 accessed. The elements below the diagonal represent the unit lower-trapezoidal blocked matrix
LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,M).TβTisCOMPLEX array, dimension (LDT, N * NIRB), where
NIRB = Number_of_input_row_blocks
= MAX( 1, CEIL((M-N)/(MB-N)) )
Let NICB = 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 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. (same format as the output T in CLATSQR).
LDTβLDTisINTEGER. The leading dimension of the arrayT.LDT >= max(1,min(NB1,N)).WORKβ(workspace) COMPLEX array, dimension (MAX(2,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORKisINTEGER. The dimension of the arrayWORK.LWORK >= (M+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βINFOisINTEGER.= 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 2019, Igor Kozachenko, Computer Science Division, University of California, Berkeley
Definition at line 174 of file cungtsqr.f.
Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π this page came from SRC/cungtsqr.f(3) in LAPACK Version 3.12.0 β auto-generated, no cap π¦
π¦ 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