8template <
typename Scalar>
struct IntegratorRK2DataTpl;
18template <
typename _Scalar>
32 void forward(
const ConstVectorRef &x,
const ConstVectorRef &u,
34 void dForward(
const ConstVectorRef &x,
const ConstVectorRef &u,
38 return std::make_shared<Data>(
this);
45template <
typename Scalar>
67#ifdef ALIGATOR_ENABLE_TEMPLATE_INSTANTIATION
68#include "aligator/modelling/dynamics/integrator-rk2.txx"
Base definitions for explicit integrators.
xyz::polymorphic< Manifold > space_next_
Specific data struct for explicit dynamics ExplicitDynamicsModelTpl.
MatrixXs Jtmp_xnext
Jacobian.
MatrixRef Jx_
Jacobian with respect to .
MatrixRef Ju_
Jacobian with respect to .
Data struct for ContinuousDynamicsAbstractTpl.
ODEAbstractTpl< Scalar > ODEType
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
shared_ptr< ODEData > continuous_data2
IntegratorRK2DataTpl(const IntegratorRK2Tpl< Scalar > *integrator)
Second-order Runge-Kutta integrator.
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
IntegratorRK2Tpl(const xyz::polymorphic< ODEType > &cont_dynamics, const Scalar timestep)
shared_ptr< DynamicsDataTpl< Scalar > > createData() const
void dForward(const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const
void forward(const ConstVectorRef &x, const ConstVectorRef &u, BaseData &data) const
typename Base::ODEType ODEType