4#include <proxsuite-nlp/modelling/spaces/vector-space.hpp>
11template <
typename _Scalar>
23 proxsuite::nlp::VectorSpaceTpl<Scalar, Eigen::Dynamic>;
31 void forward(
const ConstVectorRef &x,
const ConstVectorRef &u,
33 data.xnext_ =
A_ * x +
B_ * u +
c_;
36 void dForward(
const ConstVectorRef &,
const ConstVectorRef &,
Data &)
const {}
40 std::make_shared<Data>(this->
ndx1, this->
nu, this->
nx2(), this->
ndx2);
Specific data struct for explicit dynamics ExplicitDynamicsModelTpl.
Explicit forward dynamics model .
Discrete explicit linear dynamics.
LinearDiscreteDynamicsTpl(const MatrixXs &A, const MatrixXs &B, const VectorXs &c)
Constructor with state manifold and matrices.
void dForward(const ConstVectorRef &, const ConstVectorRef &, Data &) const
proxsuite::nlp::VectorSpaceTpl< Scalar, Eigen::Dynamic > VectorSpaceType
shared_ptr< DynData > createData() const
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
void forward(const ConstVectorRef &x, const ConstVectorRef &u, Data &data) const