public static OdeResult IntegrateConservativeOde(
Func<double, double, double> rhs,
double x0,
double y0,
double yPrime0,
double x1
)
Public Shared Function IntegrateConservativeOde (
rhs As Func(Of Double, Double, Double),
x0 As Double,
y0 As Double,
yPrime0 As Double,
x1 As Double
) As OdeResult
public:
static OdeResult^ IntegrateConservativeOde(
Func<double, double, double>^ rhs,
double x0,
double y0,
double yPrime0,
double x1
)
static member IntegrateConservativeOde :
rhs : Func<float, float, float> *
x0 : float *
y0 : float *
yPrime0 : float *
x1 : float -> OdeResult
For information on integrating conservative ODEs, see IntegrateConservativeOde(FuncDouble, Double, Double, Double, Double, Double, Double, OdeSettings).
This overload uses default values 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 | The rhs is null. |
NonconvergenceException | The ODE could not be integrated to the required precision before exhausting the maximum allowed number of rhs evaluations. |