Click or drag to resize

DVNORMRun Method

***PURPOSE Weighted root-mean-square vector norm. ***TYPE DOUBLE PRECISION (SVNORM-S, DVNORM-D) ***AUTHOR Hindmarsh, Alan C., (LLNL) ***DESCRIPTION This function routine computes the weighted root-mean-square norm of the vector of length N contained in the array V, with weights contained in the array W of length N: DVNORM = SQRT( (1/N) * SUM( V(i)*W(i) )**2 ) ***SEE ALSO DLSODE ***ROUTINES CALLED (NONE) ***REVISION HISTORY (YYMMDD) 791129 DATE WRITTEN 890501 Modified prologue to SLATEC/LDOC format. (FNF) 890503 Minor cosmetic changes. (FNF) 930809 Renamed to allow single/double precision versions. (ACH) ***END PROLOGUE DVNORM **End ***FIRST EXECUTABLE STATEMENT DVNORM

Namespace: DotNumerics.ODE.DVode
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public double Run(
	int N,
	double[] V,
	int offset_v,
	double[] W,
	int offset_w
)
Request Example View Source

Parameters

N  Int32
 
V  Double
 
offset_v  Int32
 
W  Double
 
offset_w  Int32
 

Return Value

Double
See Also