Purpose
=======
DLARFB applies a real block reflector H or its transpose H' to a
real m by n matrix C, from either the left or the right.
Namespace: DotNumerics.LinearAlgebra.CSLapackAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Run(
string SIDE,
string TRANS,
string DIRECT,
string STOREV,
int M,
int N,
int K,
double[] V,
int offset_v,
int LDV,
double[] T,
int offset_t,
int LDT,
ref double[] C,
int offset_c,
int LDC,
ref double[] WORK,
int offset_work,
int LDWORK
)
Public Sub Run (
SIDE As String,
TRANS As String,
DIRECT As String,
STOREV As String,
M As Integer,
N As Integer,
K As Integer,
V As Double(),
offset_v As Integer,
LDV As Integer,
T As Double(),
offset_t As Integer,
LDT As Integer,
ByRef C As Double(),
offset_c As Integer,
LDC As Integer,
ByRef WORK As Double(),
offset_work As Integer,
LDWORK As Integer
)
Request Example
View SourceParameters
- SIDE String
-
(input) CHARACTER*1
= 'L': apply H or H' from the Left
= 'R': apply H or H' from the Right
- TRANS String
-
(input) CHARACTER*1
= 'N': apply H (No transpose)
= 'T': apply H' (Transpose)
- DIRECT String
-
(input) CHARACTER*1
Indicates how H is 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 String
-
(input) CHARACTER*1
Indicates how the vectors which define the elementary
reflectors are stored:
= 'C': Columnwise
= 'R': Rowwise
- M Int32
-
(input) INTEGER
The number of rows of the matrix C.
- N Int32
-
(input) INTEGER
The number of columns of the matrix C.
- K Int32
-
(input) INTEGER
The order of the matrix T (= the number of elementary
reflectors whose product defines the block reflector).
- V Double
-
(input) DOUBLE PRECISION array, dimension
(LDV,K) if STOREV = 'C'
(LDV,M) if STOREV = 'R' and SIDE = 'L'
(LDV,N) if STOREV = 'R' and SIDE = 'R'
The matrix V. See further details.
- offset_v Int32
-
- LDV Int32
-
(input) INTEGER
The leading dimension of the array V.
If STOREV = 'C' and SIDE = 'L', LDV .GE. max(1,M);
if STOREV = 'C' and SIDE = 'R', LDV .GE. max(1,N);
if STOREV = 'R', LDV .GE. K.
- T Double
-
(input) DOUBLE PRECISION array, dimension (LDT,K)
The triangular k by k matrix T in the representation of the
block reflector.
- offset_t Int32
-
- LDT Int32
-
(input) INTEGER
The leading dimension of the array T. LDT .GE. K.
- C Double
-
(input/output) DOUBLE PRECISION array, dimension (LDC,N)
On entry, the m by n matrix C.
On exit, C is overwritten by H*C or H'*C or C*H or C*H'.
- offset_c Int32
-
- LDC Int32
-
(input) INTEGER
The leading dimension of the array C. LDA .GE. max(1,M).
- WORK Double
-
(workspace) DOUBLE PRECISION array, dimension (LDWORK,K)
- offset_work Int32
-
- LDWORK Int32
-
(input) INTEGER
The leading dimension of the array WORK.
If SIDE = 'L', LDWORK .GE. max(1,N);
if SIDE = 'R', LDWORK .GE. max(1,M).
See Also