Click or drag to resize

DLARZBRun Method

Purpose ======= DLARZB applies a real block reflector H or its transpose H**T to a real distributed M-by-N C from the left or the right. Currently, only STOREV = 'R' and DIRECT = 'B' are supported.

Namespace: DotNumerics.LinearAlgebra.CSLapack
Assembly: 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,
	int L,
	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
)
Request Example View Source

Parameters

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) = 'C': 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, not supported yet) = '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 (not supported yet) = '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).
L  Int32
(input) INTEGER The number of columns of the matrix V containing the meaningful part of the Householder reflectors. If SIDE = 'L', M .GE. L .GE. 0, if SIDE = 'R', N .GE. L .GE. 0.
V  Double
(input) DOUBLE PRECISION array, dimension (LDV,NV). If STOREV = 'C', NV = K; if STOREV = 'R', NV = L.
offset_v  Int32
 
LDV  Int32
(input) INTEGER The leading dimension of the array V. If STOREV = 'C', LDV .GE. L; 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. LDC .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