ODESolver¶
-
class
probnum.diffeq.ODESolver(ivp, order)¶ Bases:
abc.ABCInterface for ODESolver.
Methods Summary
Returns t0 and y0 (for the solver, which might be different to ivp.y0)
method_callback(time, current_guess, …)Optional callback.
postprocess(odesol)Process the ODESolution object before returning.
rvlist_to_odesol(times, rvs)Create an ODESolution object.
solve(steprule)Solve an IVP.
step(start, stop, current, **kwargs)Every ODE solver needs a step() method that returns a new random variable and an error estimate.
Methods Documentation
-
abstract
initialise()[source]¶ Returns t0 and y0 (for the solver, which might be different to ivp.y0)
-
method_callback(time, current_guess, current_error)[source]¶ Optional callback.
Can be overwritten. Do this as soon as it is clear that the current guess is accepted, but before storing it. No return. For example: tune hyperparameters (sigma).
-
abstract