Class RungeKuttaSolver solves first order initial value differential equations
by the Runge-Kutta method.
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public class RungeKuttaSolver : ICloneable |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class RungeKuttaSolver _ Implements ICloneable |
| Visual C++ |
|---|
[SerializableAttribute] 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.