MultiFunctionMathIntegrateConservativeOde Method (FuncDouble, IReadOnlyListDouble, IReadOnlyListDouble, Double, IReadOnlyListDouble, IReadOnlyListDouble, Double) |
Namespace: Meta.Numerics.Analysis
public static MultiOdeResult IntegrateConservativeOde( Func<double, IReadOnlyList<double>, IReadOnlyList<double>> rhs, double x0, IReadOnlyList<double> y0, IReadOnlyList<double> yPrime0, double x1 )
Exception | Condition |
---|---|
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. |
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.