﻿MultiFunctionMath.IntegrateConservativeOde Method (Func(Double, IList(Double), IList(Double)), Double, IList(Double), IList(Double), Double)
 MultiFunctionMathIntegrateConservativeOde Method (FuncDouble, IListDouble, IListDouble, Double, IListDouble, IListDouble, Double)
Solves a set of coupled, conservative second order 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 IntegrateConservativeOde(
Func<double, IList<double>, IList<double>> rhs,
double x0,
IList<double> y0,
IList<double> yPrime0,
double x1
)```

#### Parameters

rhs
Type: SystemFuncDouble, IListDouble, IListDouble
The right hand side function.
x0
Type: SystemDouble
The initial value of the independent variable.
y0
Type: System.Collections.GenericIListDouble
The initial values of the functions.
yPrime0
Type: System.Collections.GenericIListDouble
The intial values of the functions' derivatives.
x1
Type: SystemDouble
The final value of the independent variable.

#### Return Value

Type: MultiOdeResult
The solution, including the final value of the functions and their derivatives.
Exceptions
ExceptionCondition
ArgumentNullExceptionrhs, y0, or yPrime0 is .
DimensionMismatchExceptiony0 and yPrime0 do not have the same dimension.
NonconvergenceExceptionThe ODE could not be integrated to the required precision before exhausting the maximum allowed number of rhsevaluations.
Remarks

This overload uses default settings for precision and evaluation budget. It targets a relative precision of about 10-12 and an absolute precision of about 10-24 with an evaluation budget of about 8000.