Click or drag to resize

MultiFunctionMathIntegrateOde Method (FuncDouble, IReadOnlyListDouble, IReadOnlyListDouble, Double, IReadOnlyListDouble, Double)

Solves a set of coupled ordinary differential equation initial value problems.

Namespace:  Meta.Numerics.Analysis
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public static MultiOdeResult IntegrateOde(
	Func<double, IReadOnlyList<double>, IReadOnlyList<double>> rhs,
	double x0,
	IReadOnlyList<double> y0,
	double x1
)

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.

Return Value

Type: MultiOdeResult
The solution, including the final value of the function and its derivative.
Exceptions
ExceptionCondition
ArgumentNullExceptionrhs or y0 is .
NonconvergenceExceptionThe ODE could not be integrated to the required precision before exhausting the maximum allowed number of rhs evaluations.
Remarks
See Also