Solves the given first order initial value problem using the Runge-Kutta method and places the solution in the provided TabulatedFunction.

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

Syntax

C#
public void Solve(
	FirstOrderInitialValueProblem problem,
	ref TabulatedFunction y
)
Visual Basic (Declaration)
Public Sub Solve ( _
	problem As FirstOrderInitialValueProblem, _
	ByRef y As TabulatedFunction _
)
Visual C++
public:
void Solve(
	FirstOrderInitialValueProblem^ problem, 
	TabulatedFunction^% y
)

Parameters

problem
Type: CenterSpace.NMath.Analysis..::.FirstOrderInitialValueProblem
The first order initial value problem.
y
Type: CenterSpace.NMath.Core..::.TabulatedFunction %
Tabulated solution is placed in y. If y is null on input, y is returned as an instance of NaturalCubicSpline.

See Also