CUNGTSQR(3)
π CUNGTSQR(3) π
okay so bestie, welcome to the Library Functions Manual entry for CUNGTSQR(3) β sheβs a LAPACK subroutine and sheβs literally about to generate an orthonormal-column matrix. no cap. π¦
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cungtsqr.f
Thatβs the whole NAME section β just the source file path, and honestly itβs giving βI am my file pathβ energy. π
πΈ SYNOPSIS πΈ
Functions/Subroutines
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
CUNGTSQR again, because the page said it twice and we are not skipping a single crumb. π
π Purpose π
CUNGTSQR generates an M-by-N complex matrix Q_out with orthonormal columns, which are the first N columns of a product of complex 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. iykyk. π
π Parameters π
MβMis INTEGER. The number of rows of the matrix A.M >= 0.NβNis INTEGER. The number of columns of the matrix A.M >= N >= 0.MBβMBis INTEGER. The row block size used byCLATSQRto return arrays A and T.MB > N. (Note that ifMB > M, thenMis used instead ofMBas the row block size).NBβNBis INTEGER. The column block size used byCLATSQRto return arrays A and T.NB >= 1. (Note that ifNB > N, thenNis used instead ofNBas the column block size).AβAis COMPLEX 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 V computed byCLATSQRthat defines the input matricesQ_in(k)(ones on the diagonal are not stored) (same format as the output A below the diagonal inCLATSQR). On exit: The array A contains an M-by-N orthonormal matrixQ_out, i.e the columns of A are orthogonal unit vectors.LDAβLDAis INTEGER. The leading dimension of the array A.LDA >= max(1,M).TβTis 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 matricesQ_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 inCLATSQR).LDTβLDTis INTEGER. The leading dimension of the array T.LDT >= max(1,min(NB1,N)).WORKβ (workspace) COMPLEX array, dimension(MAX(2,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimal LWORK.LWORKβLWORKis INTEGER. The dimension of the array WORK.LWORK >= (M+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βINFOis INTEGER.= 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 2019, Igor Kozachenko, Computer Science Division, University of California, Berkeley
β Definition at line β
Definition at line 174 of file cungtsqr.f.
π€ Author (Doxygen edition) π€
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie π β LAPACK, Version 3.12.0, source path /home/abui.../cungtsqr.f(3), generated automatically by Doxygen for LAPACK from the source code. The only date-ish crumb in the whole thing is November 2019 in Contributors, so thatβs the timestamp tea. 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