SRC/dgetsqrhrt.f(3)
β¨ NAME β¨
okay so this page is SRC/dgetsqrhrt.f(3), from the Library Functions Manual, and the name on the door is SRC/dgetsqrhrt.f. Thatβs the file, bestie. π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine dgetsqrhrt (m, n, mb1, nb1, nb2, a, lda, t, ldt, work, lwork,
info)
DGETSQRHRT β yes, she has a name. π
π¦ Function/Subroutine Documentation π¦
subroutine dgetsqrhrt (integer m, integer n, integer mb1, integer nb1,
integer nb2, double precision, dimension( lda, * ) a, integer lda,
double precision, dimension( ldt, * ) t, integer ldt, double precision,
dimension( * ) work, integer lwork, integer info)
DGETSQRHRT β thatβs her full government name. π
π Purpose π
Okay so DGETSQRHRT computes a NB2-sized column blocked QR-factorization of a real M-by-N matrix A with M >= N, and the whole vibe is:
A = Q * R.
Internally the routine uses an NB1-sized column blocked and MB1-sized row blocked TSQR-factorization, then 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 DGEQRT (Q is in blocked compact WY-representation). See the documentation of DGEQRT for more details on the format. β¨
π Parameters π
MβM is INTEGER. The number of rows of the matrixA.M >= 0.NβN is INTEGER. The number of columns of the matrixA.M >= N >= 0.MB1βMB1 is INTEGER. The row block size to be used in the blocked TSQR.MB1 > N.NB1βNB1 is INTEGER. The column block size to be used in the blocked TSQR.N >= NB1 >= 1.NB2βNB2 is INTEGER. The block size to be used in the blocked QR that is output.NB2 >= 1.AβA is DOUBLE PRECISION array, dimension (LDA,N). On entry: anM-by-NmatrixA. On exit: a) the elements on and above the diagonal of the array contain theN-by-Nupper-triangular matrixRcorresponding to the Householder QR; b) the elements below the diagonal representQby the columns of blockedV(compact WY-representation).LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).TβT is DOUBLE PRECISION array, dimension (LDT,N)). The upper triangular block reflectors stored in compact form as a sequence of upper triangular blocks.LDTβLDT is INTEGER. The leading dimension of the arrayT.LDT >= NB2.WORKβ(workspace) DOUBLE PRECISION array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORK is INTEGER. The dimension of the arrayWORK. IfMIN(M,N) = 0,LWORK >= 1, elseLWORK >= MAX( 1, LWT + LW1, MAX( LWT+N*N+LW2, LWT+N*N+N ) ),whereNUM_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 ) ).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βINFO is INTEGER.= 0: successful exit;< 0: if INFO = -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 2020, Igor Kozachenko, Computer Science Division, University of California, Berkeley
Definition at line 180 of file dgetsqrhrt.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, the footer says source SRC/dgetsqrhrt.f(3) and LAPACK Version 3.12.0 β 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