Returns the norm of a vector.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax protected virtual double Vnorm(
double[] v,
double[] y,
double[] ymax
)
Protected Overridable Function Vnorm (
v As Double(),
y As Double(),
ymax As Double()
) As Double
protected:
virtual double Vnorm(
array<double>^ v,
array<double>^ y,
array<double>^ ymax
)
abstract Vnorm :
v : float[] *
y : float[] *
ymax : float[] -> float
override Vnorm :
v : float[] *
y : float[] *
ymax : float[] -> float
Parameters
- v
- Type: SystemDouble
A double array containing the vector whose
norm is to be computed.
- y
- Type: SystemDouble
A double array containing the values of the
dependent variable.
- ymax
- Type: SystemDouble
A double array containing the maximum y values
computed thus far.
Return Value
Type:
DoubleA
double scalar value representing the norm of
the vector
v.
Remarks This method can be over-ridden by the user to supply a different norm than
those available through ODE.ErrorNormOptions, see NormMethod property.
See Also