Click or drag to resize

DLACONRun Method

Purpose ======= DLACON estimates the 1-norm of a square, real matrix A. Reverse communication is used for evaluating matrix-vector products.

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(
	int N,
	ref double[] V,
	int offset_v,
	ref double[] X,
	int offset_x,
	ref int[] ISGN,
	int offset_isgn,
	ref double EST,
	ref int KASE
)
Request Example View Source

Parameters

N  Int32
(input) INTEGER The order of the matrix. N .GE. 1.
V  Double
(workspace) DOUBLE PRECISION array, dimension (N) On the final return, V = A*W, where EST = norm(V)/norm(W) (W is not returned).
offset_v  Int32
 
X  Double
(input/output) DOUBLE PRECISION array, dimension (N) On an intermediate return, X should be overwritten by A * X, if KASE=1, A' * X, if KASE=2, and DLACON must be re-called with all the other parameters unchanged.
offset_x  Int32
 
ISGN  Int32
(workspace) INTEGER array, dimension (N)
offset_isgn  Int32
 
EST  Double
(output) DOUBLE PRECISION An estimate (a lower bound) for norm(A).
KASE  Int32
(input/output) INTEGER On the initial call to DLACON, KASE should be 0. On an intermediate return, KASE will be 1 or 2, indicating whether X should be overwritten by A * X or A' * X. On the final return from DLACON, KASE will again be 0.
See Also