SRC/zgetsqrhrt.f(3)
πΈ NAME πΈ
SRC/zgetsqrhrt.f β bestie, this is the LAPACK manual page for the zgetsqrhrt subroutine, straight out of the LAPACK Library Functions Manual. Itβs giving blocked QR factorization, and weβre gonna get into it π
β¨
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine zgetsqrhrt (m, n, mb1, nb1, nb2, a, lda, t, ldt, work, lwork, info)β the main character:ZGETSQRHRTπ
π¦ Function/Subroutine Documentation π¦
subroutine zgetsqrhrt (...)
subroutine zgetsqrhrt (integer m, integer n, integer mb1, integer nb1,
integer nb2, complex*16, dimension( lda, * ) a, integer lda, complex*16,
dimension( ldt, * ) t, integer ldt, complex*16, dimension( * ) work,
integer lwork, integer info)
This is ZGETSQRHRT, no cap. The whole routine is literally called ZGETSQRHRT, and itβs here to do a very specific QR factorization slay π
π― Purpose π―
okay so ZGETSQRHRT computes a NB2-sized column blocked QR-factorization of a complex M-by-N matrix A with M >= N,
A = Q * R.
Internally it uses an NB1-sized column blocked and MB1-sized row blocked TSQR-factorization, and it performs the reconstruction of the Householder vectors from the TSQR output. It also converts the R_tsqr factor from the TSQR-factorization output into the R factor that corresponds to the Householder QR-factorization,
A = Q_tsqr * R_tsqr = Q * R.
The output Q and R factors are stored in the same format as in ZGEQRT (Q is in blocked compact WY-representation). See the documentation of ZGEQRT for more details on the format. iconic behavior, honestly π«Ά
π Parameters π
MβMisINTEGER. The number of rows of the matrixA.M >= 0.NβNisINTEGER. The number of columns of the matrixA.M >= N >= 0.MB1βMB1isINTEGER. The row block size to be used in the blocked TSQR.MB1 > N.NB1βNB1isINTEGER. The column block size to be used in the blocked TSQR.N >= NB1 >= 1.NB2βNB2isINTEGER. The block size to be used in the blocked QR that is output.NB2 >= 1.AβAisCOMPLEX*16array, dimension(LDA,N).- On entry: an
M-by-NmatrixA. - On exit:
- a) the elements on and above the diagonal of the array contain the
N-by-Nupper-triangular matrixRcorresponding to the Householder QR; - b) the elements below the diagonal represent
Qby the columns of blockedV(compact WY-representation).
- a) the elements on and above the diagonal of the array contain the
- On entry: an
LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,M).TβTisCOMPLEX*16array, dimension(LDT,N)). The upper triangular block reflectors stored in compact form as a sequence of upper triangular blocks.LDTβLDTisINTEGER. The leading dimension of the arrayT.LDT >= NB2.WORKβ(workspace)COMPLEX*16array, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORKisINTEGER. The dimension of the arrayWORK.- If
MIN(M,N) = 0,LWORK >= 1, else
- If
LWORK >= MAX( 1, LWT + LW1, MAX( LWT+N*N+LW2, LWT+N*N+N ) ),
- where
NUM_ALL_ROW_BLOCKS = CEIL((M-N)/(MB1-N)),
NB1LOCAL = MIN(NB1,N).
LWT = NUM_ALL_ROW_BLOCKS * N * NB1LOCAL,
LW1 = NB1LOCAL * N,
LW2 = NB1LOCAL * MAX( NB1LOCAL, ( N - NB1LOCAL ) ).
- If
LWORK = -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 2020, Igor Kozachenko, Computer Science Division, University of California, Berkeley
Definition at line 180 of file zgetsqrhrt.f.
π Author (Doxygen edition) π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β this page is from LAPACK Version 3.12.0, source file SRC/zgetsqrhrt.f. The footer didnβt hand us a date, so weβre not inventing one, bestie ππ Thatβs the whole page β periodt π«Άβ¨
π¦ 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