﻿MultiFunctionMath.IntegrateOde Method (Func(Double, IList(Double), IList(Double)), Double, IList(Double), Double, MultiOdeEvaluationSettings)
 MultiFunctionMathIntegrateOde Method (FuncDouble, IListDouble, IListDouble, Double, IListDouble, Double, MultiOdeEvaluationSettings)
Solves a set of coupled ordinary differential equation initial value problems.

Namespace:  Meta.Numerics.Analysis
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
```public static MultiOdeResult IntegrateOde(
Func<double, IList<double>, IList<double>> rhs,
double x0,
IList<double> y0,
double x1,
MultiOdeEvaluationSettings settings
)```

Parameters

rhs
Type: SystemFuncDouble, IListDouble, IListDouble
The right hand side function, which returns the value of the derivative given the values of the indepdent variable and the function.
x0
Type: SystemDouble
The initial value of the independent variable.
y0
Type: System.Collections.GenericIListDouble
The initial value of the function.
x1
Type: SystemDouble
The final value of the independent variable.
settings
Type: Meta.Numerics.AnalysisMultiOdeEvaluationSettings
The settings to use when solving the problem.

Return Value

Type: MultiOdeResult
The solution, including the final value of the function and its derivative.
Exceptions
ExceptionCondition
ArgumentNullExceptionrhs, y0, or settings is .
NonconvergenceExceptionThe ODE could not be integrated to the required precision before exhausting the maximum allowed number of rhsevaluations.
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.