Skip to content

num::observer_fn

Defined in header <ode/types.hpp>

using observer_fn = std::function<void(real t, const vec<real> &y)>;

Function called after each step of a first-order method with (t, y).