tplqt2(3)
πΈ tplqt2(3) β Library Functions Manual πΈ
okay so bestie, welcome to tplqt2, the level-2 QR-factor page from the LAPACK girlies π
. This is the manual page for the tplqt2 family, and it's long, so we're doing this in two parts β this is part 1. Grab a boba, we're going in π§
β¨ NAME β¨
tplqt2 β tplqt2: QR factor, level 2 π
π¦ SYNOPSIS π¦
Functions
subroutine ctplqt2 (m, n, l, a, lda, b, ldb, t, ldt, info)
subroutine dtplqt2 (m, n, l, a, lda, b, ldb, t, ldt, info)
subroutine stplqt2 (m, n, l, a, lda, b, ldb, t, ldt, info)
subroutine ztplqt2 (m, n, l, a, lda, b, ldb, t, ldt, info)
ctplqt2βCTPLQT2(that's literally all the synopsis says about it, no cap π)dtplqt2βDTPLQT2 computes a LQ factorization of a real or complex triangular-pentagonal"matrix,whichiscomposedofatriangularblockandapentagonalblock,usingthecompactWYrepresentationforQ.β yes the original really does run all those words together like that, we don't gatekeep, we just report π«Άstplqt2βSTPLQT2 computes a LQ factorization of a real or complex triangular-pentagonal"matrix,whichiscomposedofatriangularblockandapentagonalblock,usingthecompactWYrepresentationforQ.ztplqt2βZTPLQT2 computes a LQ factorization of a real or complex triangular-pentagonal"matrix,whichiscomposedofatriangularblockandapentagonalblock,usingthecompactWYrepresentationforQ.
π Detailed Description π
(This section is empty in the original β the description is just the heading itself, so we're matching that energy exactly. Iconic of it, honestly β¨)
π Function Documentation π
π subroutine ctplqt2 (integer m, integer n, integer l, complex, dimension( lda, * ) a, integer lda, complex, dimension( ldb, * ) b, integer ldb, complex, dimension( ldt, * ) t, integer ldt, integer info)
CTPLQT2 β that's the whole one-liner label, bestie, it's giving mystery π΅οΈββοΈ
β Purpose:
CTPLQT2 computes a LQ factorization of a complex matrix C, which is composed of a triangular block A and pentagonal block B, using the compact WY representation for Q. Slay π
π Parameters
MβM is INTEGER. The total number of rows of the matrixB. Constraint:M >= 0. β¨NβN is INTEGER. The number of columns of the matrixB, and the order of the triangular matrixA. Constraint:N >= 0. πLβL is INTEGER. The number of rows of the lower trapezoidal part ofB. Constraint:MIN(M,N) >= L >= 0. See Further Details. πAβA is COMPLEX array, dimension (LDA,M). On entry, the lower triangularM-by-MmatrixA. On exit, the elements on and below the diagonal of the array contain the lower triangular matrixL. π¦LDAβLDA is INTEGER. The leading dimension of the arrayA. Constraint:LDA >= max(1,M). πΈBβB is COMPLEX array, dimension (LDB,N). On entry, the pentagonalM-by-NmatrixB. The firstN-Lcolumns are rectangular, and the lastLcolumns are lower trapezoidal. On exit,Bcontains the pentagonal matrixV. See Further Details. πLDBβLDB is INTEGER. The leading dimension of the arrayB. Constraint:LDB >= max(1,M). πTβT is COMPLEX array, dimension (LDT,M). TheN-by-Nupper triangular factorTof the block reflector. See Further Details. βLDTβLDT is INTEGER. The leading dimension of the arrayT. Constraint:LDT >= max(1,M). π«ΆINFOβINFO is 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.
π§ Further Details:
The input matrix C is a M-by-(M+N) matrix:
C = [ A ][ B ]
where A is an lower triangular M-by-M matrix, and B is M-by-N pentagonal matrix consisting of a M-by-(N-L) rectangular matrix B1 left of a M-by-L upper trapezoidal matrix B2:
B = [ B1 ][ B2 ]
[ B1 ] <- M-by-(N-L) rectangular
[ B2 ] <- M-by-L lower trapezoidal.
The lower trapezoidal matrix B2 consists of the first L columns of a N-by-N lower triangular matrix, where 0 <= L <= MIN(M,N). If L=0, B is rectangular M-by-N; if M=L=N, B is lower triangular. π
The matrix W stores the elementary reflectors H(i) in the i-th row above the diagonal (of A) in the M-by-(M+N) input matrix C
C = [ A ][ B ]
[ A ] <- lower triangular M-by-M
[ B ] <- M-by-N pentagonal
so that W can be represented as
W = [ I ][ V ]
[ I ] <- identity, M-by-M
[ V ] <- M-by-N, same form as B.
Thus, all of information needed for W is contained on exit in B, which we call V above. Note that V has the same form as B; that is,
W = [ V1 ][ V2 ]
[ V1 ] <- M-by-(N-L) rectangular
[ V2 ] <- M-by-L lower trapezoidal.
The rows of V represent the vectors which define the H(i)'s. The (M+N)-by-(M+N) block reflector H is then given by
H = I - W**T * T * W
where W^H is the conjugate transpose of W and T is the upper triangular factor of the block reflector. π₯
Definition at line 161 of file ctplqt2.f. π
π subroutine dtplqt2 (integer m, integer n, integer l, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( ldb, * ) b, integer ldb, double precision, dimension( ldt, * ) t, integer ldt, integer info)
DTPLQT2 computes a LQ factorization of a real or complex "triangular-pentagonal" matrix, which is composed of a triangular block and a pentagonal block, using the compact WY representation for Q. π
β Purpose:
DTPLQT2 computes a LQ factorization of a real matrix C, which is composed of a triangular block A and pentagonal block B, using the compact WY representation for Q. Slay again π
π Parameters
MβM is INTEGER. The total number of rows of the matrixB. Constraint:M >= 0. β¨NβN is INTEGER. The number of columns of the matrixB, and the order of the triangular matrixA. Constraint:N >= 0. πLβL is INTEGER. The number of rows of the lower trapezoidal part ofB. Constraint:MIN(M,N) >= L >= 0. See Further Details. πAβA is DOUBLE PRECISION array, dimension (LDA,M). On entry, the lower triangularM-by-MmatrixA. On exit, the elements on and below the diagonal of the array contain the lower triangular matrixL. π¦LDAβLDA is INTEGER. The leading dimension of the arrayA. Constraint:LDA >= max(1,M). πΈBβB is DOUBLE PRECISION array, dimension (LDB,N). On entry, the pentagonalM-by-NmatrixB. The firstN-Lcolumns are rectangular, and the lastLcolumns are lower trapezoidal. On exit,Bcontains the pentagonal matrixV. See Further Details. πLDBβLDB is INTEGER. The leading dimension of the arrayB. Constraint:LDB >= max(1,M). πTβT is DOUBLE PRECISION array, dimension (LDT,M). TheN-by-Nupper triangular factorTof the block reflector. See Further Details. βLDTβLDT is INTEGER. The leading dimension of the arrayT. Constraint:LDT >= max(1,M). π«ΆINFOβINFO is 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.
π§ Further Details:
The input matrix C is a M-by-(M+N) matrix:
C = [ A ][ B ]
where A is an lower triangular M-by-M matrix, and B is M-by-N pentagonal matrix consisting of a M-by-(N-L) rectangular matrix B1 left of a M-by-L upper trapezoidal matrix B2:
B = [ B1 ][ B2 ]
[ B1 ] <- M-by-(N-L) rectangular
[ B2 ] <- M-by-L lower trapezoidal.
The lower trapezoidal matrix B2 consists of the first L columns of a N-by-N lower triangular matrix, where 0 <= L <= MIN(M,N). If L=0, B is rectangular M-by-N; if M=L=N, B is lower triangular. π
The matrix W stores the elementary reflectors H(i) in the i-th row above the diagonal (of A) in the M-by-(M+N) input matrix C
C = [ A ][ B ]
[ A ] <- lower triangular M-by-M
[ B ] <- M-by-N pentagonal
so that W can be represented as
W = [ I ][ V ]
[ I ] <- identity, M-by-M
[ V ] <- M-by-N, same form as B.
Thus, all of information needed for W is contained on exit in B, which we call V above. Note that V has the same form as B; that is,
W = [ V1 ][ V2 ]
[ V1 ] <- M-by-(N-L) rectangular
[ V2 ] <- M-by-L lower trapezoidal.
The rows of V represent the vectors which define the H(i)'s. The (M+N)-by-(M+N) block reflector H is then given by
H = I - W**T * T * W
where W^H is the conjugate transpose of W and T is the upper triangular factor of the block reflector. π₯
Definition at line 176 of file dtplqt2.f. π
π subroutine stplqt2 (integer m, integer n, integer l, real, dimension( lda, * ) a, integer lda, real, dimension( ldb, * ) b, integer ldb, real, dimension( ldt, * ) t, integer ldt, integer info)
STPLQT2 computes a LQ factorization of a real or complex "triangular-pentagonal" matrix, which is composed of a triangular block and a pentagonal block, using the compact WY representation for Q. πΈ
β Purpose:
β¦and that is exactly where the page cuts off, bestie β mid-Purpose, no warning, just vibes π. Everything from here for stplqt2 and all of ztplqt2 lives in part 2 β¨π«Ά
πΈ stplqt2 Purpose πΈ
Okay so STPLQT2 computes an LQ factorization of a real matrix C β it's composed of a triangular block A and a pentagonal block B, using the compact WY representation for Q. Literally iconic. π
π
stplqt2 Parameters π
Mβ is anINTEGER. It's the total number of rows of the matrixB. So like,M >= 0. π«ΆNβ is anINTEGER. It's the number of columns of the matrixB, and the order of the triangular matrixA.N >= 0. β¨Lβ is anINTEGER. It's the number of rows of the lower trapezoidal part ofB. And bestie,MIN(M,N) >= L >= 0. See Further Details. πAβ is aREALarray,dimension (LDA,M). On entry, it's the lower triangularM-by-MmatrixA. On exit, the elements on and below the diagonal of the array contain the lower triangular matrixL. Slay. πLDAβ is anINTEGER. It's the leading dimension of the arrayA.LDA >= max(1,M). πBβ is aREALarray,dimension (LDB,N). On entry, it's the pentagonalM-by-NmatrixB. The firstN-Lcolumns are rectangular, and the lastLcolumns are lower trapezoidal. On exit,Bcontains the pentagonal matrixV. See Further Details. π¦LDBβ is anINTEGER. It's the leading dimension of the arrayB.LDB >= max(1,M). βTβ is aREALarray,dimension (LDT,M). It's theN-by-Nupper triangular factorTof the block reflector. See Further Details. π₯LDTβ is anINTEGER. It's the leading dimension of the arrayT.LDT >= max(1,M)πINFOβ is anINTEGER.
= 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.
π¦ Further Details π¦
So the input matrix C is an M-by-(M+N) matrix:
C = [ A ][ B ]
where A is a lower triangular M-by-M matrix, and B is an M-by-N pentagonal matrix consisting of an M-by-(N-L) rectangular matrix B1 left of an M-by-L upper trapezoidal matrix B2:
B = [ B1 ][ B2 ]
[ B1 ] <- M-by-(N-L) rectangular
[ B2 ] <- M-by-L lower trapezoidal.
The lower trapezoidal matrix B2 consists of the first L columns of an N-by-N lower triangular matrix, where 0 <= L <= MIN(M,N). If L=0, B is rectangular M-by-N; if M=L=N, B is lower triangular. No cap. π
The matrix W stores the elementary reflectors H(i) in the i-th row above the diagonal (of A) in the M-by-(M+N) input matrix C:
C = [ A ][ B ]
[ A ] <- lower triangular M-by-M
[ B ] <- M-by-N pentagonal
so that W can be represented as:
W = [ I ][ V ]
[ I ] <- identity, M-by-M
[ V ] <- M-by-N, same form as B.
Thus, all of the information needed for W is contained on exit in B, which we call V above. Note that V has the same form as B; that is:
W = [ V1 ][ V2 ]
[ V1 ] <- M-by-(N-L) rectangular
[ V2 ] <- M-by-L lower trapezoidal.
The rows of V represent the vectors which define the H(i)'s. The (M+N)-by-(M+N) block reflector H is then given by:
H = I - W**T * T * W
where W^H is the conjugate transpose of W and T is the upper triangular factor of the block reflector. Fr fr. π
Definition at line 176 of file stplqt2.f.
π ztplqt2 Subroutine π
Okay so here's the complex version, bestie. The signature is literally:
subroutine ztplqt2 (integer m, integer n, integer l, complex*16, dimension(
lda, * ) a, integer lda, complex*16, dimension( ldb, * ) b, integer ldb,
complex*16, dimension( ldt, * ) t, integer ldt, integer info)
ZTPLQT2 computes a LQ factorization of a real or complex "triangular-pentagonal" matrix, which is composed of a triangular block and a pentagonal block, using the compact WY representation for Q. It's giving main character energy. β¨
π§ Purpose π§
ZTPLQT2 computes an LQ factorization of a complex matrix C β it's composed of a triangular block A and pentagonal block B, using the compact WY representation for Q. Obsessed. π
π Parameters π
Mβ is anINTEGER. It's the total number of rows of the matrixB. So like,M >= 0. π«ΆNβ is anINTEGER. It's the number of columns of the matrixB, and the order of the triangular matrixA.N >= 0. β¨Lβ is anINTEGER. It's the number of rows of the lower trapezoidal part ofB. And bestie,MIN(M,N) >= L >= 0. See Further Details. πAβ is aCOMPLEX*16array,dimension (LDA,M). On entry, it's the lower triangularM-by-MmatrixA. On exit, the elements on and below the diagonal of the array contain the lower triangular matrixL. Slay. πLDAβ is anINTEGER. It's the leading dimension of the arrayA.LDA >= max(1,M). πBβ is aCOMPLEX*16array,dimension (LDB,N). On entry, it's the pentagonalM-by-NmatrixB. The firstN-Lcolumns are rectangular, and the lastLcolumns are lower trapezoidal. On exit,Bcontains the pentagonal matrixV. See Further Details. π¦LDBβ is anINTEGER. It's the leading dimension of the arrayB.LDB >= max(1,M). βTβ is aCOMPLEX*16array,dimension (LDT,M). It's theN-by-Nupper triangular factorTof the block reflector. See Further Details. π₯LDTβ is anINTEGER. It's the leading dimension of the arrayT.LDT >= max(1,M)πINFOβ is anINTEGER.
= 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.
π¦ Further Details π¦
So the input matrix C is an M-by-(M+N) matrix:
C = [ A ][ B ]
where A is a lower triangular M-by-M matrix, and B is an M-by-N pentagonal matrix consisting of an M-by-(N-L) rectangular matrix B1 left of an M-by-L upper trapezoidal matrix B2:
B = [ B1 ][ B2 ]
[ B1 ] <- M-by-(N-L) rectangular
[ B2 ] <- M-by-L lower trapezoidal.
The lower trapezoidal matrix B2 consists of the first L columns of an N-by-N lower triangular matrix, where 0 <= L <= MIN(M,N). If L=0, B is rectangular M-by-N; if M=L=N, B is lower triangular. No cap. π
The matrix W stores the elementary reflectors H(i) in the i-th row above the diagonal (of A) in the M-by-(M+N) input matrix C:
C = [ A ][ B ]
[ A ] <- lower triangular M-by-M
[ B ] <- M-by-N pentagonal
so that W can be represented as:
W = [ I ][ V ]
[ I ] <- identity, M-by-M
[ V ] <- M-by-N, same form as B.
Thus, all of the information needed for W is contained on exit in B, which we call V above. Note that V has the same form as B; that is:
W = [ V1 ][ V2 ]
[ V1 ] <- M-by-(N-L) rectangular
[ V2 ] <- M-by-L lower trapezoidal.
The rows of V represent the vectors which define the H(i)'s. The (M+N)-by-(M+N) block reflector H is then given by:
H = I - W**T * T * W
where W^H is the conjugate transpose of W and T is the upper triangular factor of the block reflector. Fr fr. π
Definition at line 176 of file ztplqt2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
And that's the whole page, bestie! π This iconic manual page is from LAPACK Version 3.12.0 and it's the tplqt2(3) page. Slay! π
β¨
π¦ 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