public static MultiOdeResult IntegrateConservativeOde(
Func<double, IReadOnlyList<double>, IReadOnlyList<double>> rhs,
double x0,
IReadOnlyList<double> y0,
IReadOnlyList<double> yPrime0,
double x1
)
Public Shared Function IntegrateConservativeOde (
rhs As Func(Of Double, IReadOnlyList(Of Double), IReadOnlyList(Of Double)),
x0 As Double,
y0 As IReadOnlyList(Of Double),
yPrime0 As IReadOnlyList(Of Double),
x1 As Double
) As MultiOdeResult
public:
static MultiOdeResult^ IntegrateConservativeOde(
Func<double, IReadOnlyList<double>^, IReadOnlyList<double>^>^ rhs,
double x0,
IReadOnlyList<double>^ y0,
IReadOnlyList<double>^ yPrime0,
double x1
)
static member IntegrateConservativeOde :
rhs : Func<float, IReadOnlyList<float>, IReadOnlyList<float>> *
x0 : float *
y0 : IReadOnlyList<float> *
yPrime0 : IReadOnlyList<float> *
x1 : float -> MultiOdeResult
For information on integrating coupled, conservative ODEs, see IntegrateConservativeOde(FuncDouble, IReadOnlyListDouble, IReadOnlyListDouble, Double, IReadOnlyListDouble, IReadOnlyListDouble, Double, MultiOdeSettings).
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.
ArgumentNullException | rhs, y0, or yPrime0 is . |
DimensionMismatchException | y0 and yPrime0 do not have the same dimension. |
NonconvergenceException | The ODE could not be integrated to the required precision before exhausting the maximum allowed number of rhsevaluations. |