MultiFunctionMathIntegrateOde Method (FuncDouble, IReadOnlyListDouble, IReadOnlyListDouble, Double, IReadOnlyListDouble, Double, MultiOdeSettings) |
Solves a set of coupled ordinary differential equation initial value problems.
Namespace:
Meta.Numerics.Analysis
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static MultiOdeResult IntegrateOde(
Func<double, IReadOnlyList<double>, IReadOnlyList<double>> rhs,
double x0,
IReadOnlyList<double> y0,
double x1,
MultiOdeSettings settings
)
Public Shared Function IntegrateOde (
rhs As Func(Of Double, IReadOnlyList(Of Double), IReadOnlyList(Of Double)),
x0 As Double,
y0 As IReadOnlyList(Of Double),
x1 As Double,
settings As MultiOdeSettings
) As MultiOdeResult
public:
static MultiOdeResult^ IntegrateOde(
Func<double, IReadOnlyList<double>^, IReadOnlyList<double>^>^ rhs,
double x0,
IReadOnlyList<double>^ y0,
double x1,
MultiOdeSettings^ settings
)
static member IntegrateOde :
rhs : Func<float, IReadOnlyList<float>, IReadOnlyList<float>> *
x0 : float *
y0 : IReadOnlyList<float> *
x1 : float *
settings : MultiOdeSettings -> MultiOdeResult
Parameters
- rhs
- Type: SystemFuncDouble, IReadOnlyListDouble, IReadOnlyListDouble
The right hand side function, which returns the value of the derivative given
the values of the independent variable and the function. - x0
- Type: SystemDouble
The initial value of the independent variable. - y0
- Type: System.Collections.GenericIReadOnlyListDouble
The initial value of the function. - x1
- Type: SystemDouble
The final value of the independent variable. - settings
- Type: Meta.Numerics.AnalysisMultiOdeSettings
The settings to use when solving the problem.
Return Value
Type:
MultiOdeResultThe solution, including the final value of the function and its derivative.
Exceptions Remarks This method integrates a set of coupled ordinary differential equations. The dependent variable y is a vector
with any number of components, and the right-hand-side is a vector-valued function that gives the derivative
of each component. Each component's derivative may depend itself and any other components, as well as on the independent variable.
The independent variable x still takes only a single real value.
See Also