num::accel_fn¶ Defined in header <ode/types.hpp> using accel_fn = std::function<void(const vec<real> &q, vec<real> &acc)>; Function that writes the acceleration \(a(q)\) for \(\ddot{q} = a(q)\).