Class RungeKuttaSolver solves first order initial value differential equations
by the Runge-Kutta method.
Namespace: CenterSpace.NMath.AnalysisAssembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0
Syntax
| C# |
|---|
[SerializableAttribute] [ObsoleteAttribute("Use RungeKutta45OdeSolver or RungeKutta5OdeSolver")] public class RungeKuttaSolver : ICloneable |
| Visual Basic |
|---|
<SerializableAttribute> _ <ObsoleteAttribute("Use RungeKutta45OdeSolver or RungeKutta5OdeSolver")> _ Public Class RungeKuttaSolver _ Implements ICloneable |
| Visual C++ |
|---|
[SerializableAttribute] [ObsoleteAttribute(L"Use RungeKutta45OdeSolver or RungeKutta5OdeSolver")] public ref class RungeKuttaSolver : ICloneable |
Remarks
Given the first order initial value problem
y' = F(x,y), y(x0) = y0
The solver will compute the unknown function y as set of tabulated
values {xi, yi} such that y(xi) = yi.
The user must specify the function F, the initial values, x0 and y0,
a number of points, and a nonzero value delta. From the number of points and the
delta the set {xi} is determined as xi = x0 + i*delta
for i = 0, 1,...,numberOfPoints.