SRC/zungtsqr.f(3)
Bestie, welcome to SRC/zungtsqr.f(3) from the Library Functions Manual β today we're decoding zungtsqr, and honestly? It's giving linear algebra royalty πβ¨.
πΈ NAME πΈ
SRC/zungtsqr.f β that's literally the whole name, bestie. This page is all about the zungtsqr routine.
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine zungtsqr (m, n, mb, nb, a, lda, t, ldt, work, lwork, info)βZUNGTSQRπ«Ά
π Function/Subroutine Documentation π
subroutine zungtsqr (integer m, integer n, integer mb, integer nb,
complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension(
ldt, * ) t, integer ldt, complex*16, dimension( * ) work, integer lwork,
integer info)
ZUNGTSQR β the main character, periodt β¨.
π Purpose π
ZUNGTSQR generates an M-by-N complex matrix Q_out with orthonormal columns, which are the first N columns of a product of comlpex unitary matrices of order M which are returned by ZLATSQR. Yes, comlpex is literally what the source says ππ.
Q_out = first_N_columns_of( Q(1)_in * Q(2)_in * ... * Q(k)_in ).
See the documentation for ZLATSQR.
π«Ά Parameters π«Ά
Mβ INTEGER. The number of rows of the matrixA.M >= 0.Nβ INTEGER. The number of columns of the matrixA.M >= N >= 0.MBβ INTEGER. The row block size used byZLATSQRto return arraysAandT.MB > N. (Note that ifMB > M, thenMis used instead ofMBas the row block size.)NBβ INTEGER. The column block size used byZLATSQRto return arraysAandT.NB >= 1. (Note that ifNB > N, thenNis used instead ofNBas the column block size.)AβCOMPLEX*16array, 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 byZLATSQRthat defines the input matricesQ_in(k)(ones on the diagonal are not stored) (same format as the outputAbelow the diagonal inZLATSQR). - On exit: The array
Acontains an M-by-N orthonormal matrixQ_out, i.e the columns ofAare orthogonal unit vectors. Slay π .
- 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β INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).TβCOMPLEX*16array, 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 ZLATSQR).
LDTβ INTEGER. The leading dimension of the arrayT.LDT >= max(1,min(NB1,N)).WORKβ (workspace)COMPLEX*16array, dimension(MAX(2,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβ INTEGER. 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. Iconic querystyle behavior π.
INFOβ 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 2019, Igor Kozachenko,
Computer Science Division,
University of California, Berkeley
Definition at line 174 of file zungtsqr.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code.
And that's the whole page, bestie β LAPACK Version 3.12.0, SRC/zungtsqr.f(3), mwah πβ¨π¦
π¦ 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