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: Altaxo.Calc.Ode.Obsolete.DVode
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public double Run(
	int N,
	double[] V,
	int offset_v,
	double[] W,
	int offset_w
)

Parameters

N  Int32

[Missing <param name="N"/> documentation for "M:Altaxo.Calc.Ode.Obsolete.DVode.DVNORM.Run(System.Int32,System.Double[],System.Int32,System.Double[],System.Int32)"]

V  Double

[Missing <param name="V"/> documentation for "M:Altaxo.Calc.Ode.Obsolete.DVode.DVNORM.Run(System.Int32,System.Double[],System.Int32,System.Double[],System.Int32)"]

offset_v  Int32

[Missing <param name="offset_v"/> documentation for "M:Altaxo.Calc.Ode.Obsolete.DVode.DVNORM.Run(System.Int32,System.Double[],System.Int32,System.Double[],System.Int32)"]

W  Double

[Missing <param name="W"/> documentation for "M:Altaxo.Calc.Ode.Obsolete.DVode.DVNORM.Run(System.Int32,System.Double[],System.Int32,System.Double[],System.Int32)"]

offset_w  Int32

[Missing <param name="offset_w"/> documentation for "M:Altaxo.Calc.Ode.Obsolete.DVode.DVNORM.Run(System.Int32,System.Double[],System.Int32,System.Double[],System.Int32)"]

Return Value

Double

[Missing <returns> documentation for "M:Altaxo.Calc.Ode.Obsolete.DVode.DVNORM.Run(System.Int32,System.Double[],System.Int32,System.Double[],System.Int32)"]

See Also