Stan Math Library
5.0.0
Automatic Differentiation
|
Wrap a functor designed for use with integrate_ode_bdf, integrate_ode_rk45, and integrate_ode_adams to use with the new ode_bdf/ode_rk45 interfaces.
The old functors took the ODE state as a std::vector. The new ones take state as an Eigen::Matrix. The adapter converts to and from these forms so that the old ODE interfaces can work.
Definition at line 23 of file integrate_ode_std_vector_interface_adapter.hpp.
#include <integrate_ode_std_vector_interface_adapter.hpp>
Public Member Functions | |
integrate_ode_std_vector_interface_adapter (const F &f) | |
template<typename T0 , typename T1 , typename T2 > | |
auto | operator() (const T0 &t, const Eigen::Matrix< T1, Eigen::Dynamic, 1 > &y, std::ostream *msgs, const std::vector< T2 > &theta, const std::vector< double > &x, const std::vector< int > &x_int) const |
Public Attributes | |
const F | f_ |