Solve the given initial value problem:
y' = f(t,y)
The step sequence is determined by timeSpan
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleVector Solve( Func<double, double, double> odeFunction, DoubleVector timeSpan, double y0 ) |
| Visual Basic (Declaration) |
|---|
Public Function Solve ( _ odeFunction As Func(Of Double, Double, Double), _ timeSpan As DoubleVector, _ y0 As Double _ ) As DoubleVector |
| Visual C++ |
|---|
public: DoubleVector^ Solve( Func<double, double, double>^ odeFunction, DoubleVector^ timeSpan, double y0 ) |
Parameters
- odeFunction
- Type: System..::.Func<(Of <(Double, Double, Double>)>)
A delegate which evaluates the right hand side of the differential equations.
- timeSpan
- Type: CenterSpace.NMath.Core..::.DoubleVector
A vector specifying the interval of integration and the value at which to perform the integration steps.
- y0
- Type: System..::.Double
Initial value for problem. It is the value of the unknown function y at the initial time value timeSpan[0].