Constructs a RungeKuttaSolver instance with the given number of points and delta. The Runge-Kutta method of the specified order is used.

Namespace:  CenterSpace.NMath.Analysis
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public RungeKuttaSolver(
	int numberOfPoints,
	double delta,
	RungeKuttaSolver..::.SolverOrder order
)
Visual Basic (Declaration)
Public Sub New ( _
	numberOfPoints As Integer, _
	delta As Double, _
	order As RungeKuttaSolver..::.SolverOrder _
)
Visual C++
public:
RungeKuttaSolver(
	int numberOfPoints, 
	double delta, 
	RungeKuttaSolver..::.SolverOrder order
)

Parameters

numberOfPoints
Type: System..::.Int32
The number of points at which to compute the unknown function.
delta
Type: System..::.Double
The interval between the points at which to compute the unknown.
order
Type: CenterSpace.NMath.Analysis..::.RungeKuttaSolver..::.SolverOrder
The order of the Runge-Kutta method to use. First order corresponds to Eulers method.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if delta is not positive.

See Also