DTPRFB(3)
π DTPRFB(3) β Library Functions Manual bestie π
okay so this is the Library Functions Manual page for DTPRFB(3), and it is lowkey a whole Fortran moment. β¨
πΈ NAME πΈ
The NAME field is literally this source file path, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dtprfb.f
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
Hereβs the synopsis exactly as it appears β yes, the spacing and quoting got a little feral, but thatβs iconic:
subroutine DTPRFB (side, trans, direct, storev, m, n, k, l, v, ldv, t,
ldt, a, lda, b, ldb, work, ldwork)
DTPRFB applies a real triangular-
pentagonal"blockreflectortoarealmatrix,whichiscomposedoftwoblocks.
π Function/Subroutine Documentation π
DTPRFB applies a real "triangular-pentagonal" block reflector to a real matrix, which is composed of two blocks. π«Ά
Hereβs the full signature, character for character:
subroutine DTPRFB (character side, character trans, character direct,
character storev, integer m, integer n, integer k, integer l, double
precision, dimension( ldv, * ) v, integer ldv, double precision,
dimension( ldt, * ) t, integer ldt, double precision, dimension( lda, *
) a, integer lda, double precision, dimension( ldb, * ) b, integer ldb,
double precision, dimension( ldwork, * ) work, integer ldwork)
π Purpose π
okay so the purpose block is giving main character energy:
!>
!> DTPRFB applies a real block reflector H or its
!> transpose H**T to a real matrix C, which is composed of two
!> blocks A and B, either from the left or right.
!>
!>
π Parameters π
SIDEβCHARACTER*1. This is the left/right vibe check:= 'L': applyHorH**Tfrom the Left= 'R': applyHorH**Tfrom the Right
TRANSβCHARACTER*1. Transpose or no transpose, bestie:= 'N': applyH(No transpose)= 'T': applyH**T(Transpose)
DIRECTβCHARACTER*1. Tells you howHis formed from a product of elementary reflectors:= 'F':H = H(1) H(2) . . . H(k)(Forward)= 'B':H = H(k) . . . H(2) H(1)(Backward)
STOREVβCHARACTER*1. Tells you how the vectors that define the elementary reflectors are stored:= 'C': Columns= 'R': Rows
MβINTEGER. The number of rows of the matrixB.M >= 0.NβINTEGER. The number of columns of the matrixB.N >= 0.KβINTEGER. The order of the matrixT, i.e. the number of elementary reflectors whose product defines the block reflector.K >= 0.LβINTEGER. The order of the trapezoidal part ofV.K >= L >= 0.See Further Details.VβDOUBLE PRECISION array, dimension:(LDV,K)ifSTOREV = 'C'(LDV,M)ifSTOREV = 'R'andSIDE = 'L'(LDV,N)ifSTOREV = 'R'andSIDE = 'R'
The pentagonal matrix V, which contains the elementary reflectors H(1), H(2), ..., H(K). See Further Details.
LDVβINTEGER. The leading dimension of the arrayV.- If
STOREV = 'C'andSIDE = 'L',LDV >= max(1,M); - if
STOREV = 'C'andSIDE = 'R',LDV >= max(1,N); - if
STOREV = 'R',LDV >= K.
- If
TβDOUBLE PRECISION array, dimension(LDT,K). The triangularK-by-KmatrixTin the representation of the block reflector.LDTβINTEGER. The leading dimension of the arrayT.LDT >= K.AβDOUBLE PRECISION array, dimension(LDA,N)ifSIDE = 'L'or(LDA,K)ifSIDE = 'R'. On entry, theK-by-NorM-by-KmatrixA. On exit,Ais overwritten by the corresponding block ofH*CorH**T*CorC*HorC*H**T. See Further Details.LDAβINTEGER. The leading dimension of the arrayA.- If
SIDE = 'L',LDA >= max(1,K); - If
SIDE = 'R',LDA >= max(1,M).
- If
BβDOUBLE PRECISION array, dimension(LDB,N). On entry, theM-by-NmatrixB. On exit,Bis overwritten by the corresponding block ofH*CorH**T*CorC*HorC*H**T. See Further Details.LDBβINTEGER. The leading dimension of the arrayB.LDB >= max(1,M).WORKβDOUBLE PRECISION array, dimension:(LDWORK,N)ifSIDE = 'L',(LDWORK,K)ifSIDE = 'R'.
LDWORKβINTEGER. The leading dimension of the arrayWORK.- If
SIDE = 'L',LDWORK >= K; - if
SIDE = 'R',LDWORK >= M.
- If
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Further Details π
The matrix C is a composite matrix formed from blocks A and B. The block B is of size M-by-N; if SIDE = 'R', A is of size M-by-K, and if SIDE = 'L', A is of size K-by-N.
If SIDE = 'R' and DIRECT = 'F', C = [A B].
If SIDE = 'L' and DIRECT = 'F', C = [A]
[B].
If SIDE = 'R' and DIRECT = 'B', C = [B A].
If SIDE = 'L' and DIRECT = 'B', C = [B]
[A].
The pentagonal matrix V is composed of a rectangular block V1 and a trapezoidal block V2. The size of the trapezoidal block is determined by the parameter L, where 0<=L<=K. If L=K, the V2 block of V is triangular; if L=0, there is no trapezoidal block, thus V = V1 is rectangular.
If DIRECT = 'F' and STOREV = 'C': V = [V1]
[V2]
- V2 is upper trapezoidal (first L rows of K-by-K upper triangular)
If DIRECT = 'F' and STOREV = 'R': V = [V1 V2]
- V2 is lower trapezoidal (first L columns of K-by-K lower triangular)
If DIRECT = 'B' and STOREV = 'C': V = [V2]
[V1]
- V2 is lower trapezoidal (last L rows of K-by-K lower triangular)
If DIRECT = 'B' and STOREV = 'R': V = [V2 V1]
- V2 is upper trapezoidal (last L columns of K-by-K upper triangular)
- If
STOREV = 'C'andSIDE = 'L',VisM-by-KwithV2L-by-K. - If
STOREV = 'C'andSIDE = 'R',VisN-by-KwithV2L-by-K. - If
STOREV = 'R'andSIDE = 'L',VisK-by-MwithV2K-by-L. - If
STOREV = 'R'andSIDE = 'R',VisK-by-NwithV2K-by-L.
Definition at line 249 of file dtprfb.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page, bestie π LAPACK Version 3.12.0 β footer path /home/abui...RC/dtprfb.f(3). No date line in the footer, just version + path, and thatβs the tea. πβ¨
π¦ 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