SGETSQRHRT(3)
π SGETSQRHRT(3) π
okay so bestie, we're in the Library Functions Manual and this page is literally all about SGETSQRHRT β a LAPACK subroutine. The file lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgetsqrhrt.f. It's giving very βmath girlie who debugged her build at 3amβ energy, and honestly? iconic. β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgetsqrhrt.f
π SYNOPSIS π
π§© Functions/Subroutines
subroutine SGETSQRHRT (m, n, mb1, nb1, nb2, a, lda, t, ldt, work, lwork, info)
SGETSQRHRT β that's the one, bestie. π«Ά
π Function/Subroutine Documentation π
subroutine SGETSQRHRT (integer m, integer n, integer mb1, integer nb1,
integer nb2, real, dimension( lda, * ) a, integer lda, real, dimension(
ldt, * ) t, integer ldt, real, dimension( * ) work, integer lwork,
integer info)
SGETSQRHRT
π― Purpose:
omg okay so SGETSQRHRT computes a NB2-sized column blocked QR-factorization of a complex M-by-N matrix A with M >= N β that's what the source says, bestie, even though this is an S routine, we don't edit the lore π β and the whole thing is:
A = Q * R.
The routine uses internally a NB1-sized column blocked and MB1-sized row blocked TSQR-factorization, and 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 SGEQRT (Q is in blocked compact WY-representation). See the documentation of SGEQRT for more details on the format. slay. π
π§Ύ Parameters
MβINTEGER. The number of rows of the matrixA.M >= 0. β¨NβINTEGER. The number of columns of the matrixA.M >= N >= 0. β¨MB1βINTEGER. The row block size to be used in the blocked TSQR.MB1 > N. πNB1βINTEGER. The column block size to be used in the blocked TSQR.N >= NB1 >= 1. πNB2βINTEGER. The block size to be used in the blocked QR that is output.NB2 >= 1. π¦AβREALarray, 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βINTEGER. The leading dimension of the arrayA.LDA >= max(1,M). πΈTβREALarray, dimension(LDT,N)). The upper triangular block reflectors stored in compact form as a sequence of upper triangular blocks. π§LDTβINTEGER. The leading dimension of the arrayT.LDT >= NB2. πWORKβ(workspace)REALarray, dimension(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. πLWORKβINTEGER. The dimension of the arrayWORK. It has to satisfy:
LWORK >= MAX( 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 the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA. no cap. π₯
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 2020, Igor Kozachenko, Computer Science Division, University of California, Berkeley.
Definition at line 177 of file sgetsqrhrt.f.
ποΈ Author
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie. Footer vibes: LAPACK Version 3.12.0, file /home/abui...getsqrhrt.f(3) β mwah πβ¨
π¦ 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