Returns the norm of a vector.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
protected virtual double Vnorm(
	double[] v,
	double[] y,
	double[] ymax
)
Visual Basic (Declaration)
Protected Overridable Function Vnorm ( _
	v As Double(), _
	y As Double(), _
	ymax As Double() _
) As Double
Visual C++
protected:
virtual double Vnorm(
	array<double>^ v, 
	array<double>^ y, 
	array<double>^ ymax
)

Parameters

v
Type: array< System..::.Double >[]()[]
A double array containing the vector whose norm is to be computed.
y
Type: array< System..::.Double >[]()[]
A double array containing the values of the dependent variable.
ymax
Type: array< System..::.Double >[]()[]
A double array containing the maximum y values computed thus far.

Return Value

A 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