nmpc_cgmres
Public Types | Public Member Functions | List of all members
nmpc_cgmres::OdeSolver Class Referenceabstract

Virtual class to solve Ordinaly Diferential Equation. More...

#include <OdeSolver.h>

Inheritance diagram for nmpc_cgmres::OdeSolver:
Inheritance graph
[legend]

Public Types

using StateEquation = std::function< void(double, const Eigen::Ref< const Eigen::VectorXd > &, const Eigen::Ref< const Eigen::VectorXd > &, Eigen::Ref< Eigen::VectorXd >)>
 

Public Member Functions

virtual EIGEN_MAKE_ALIGNED_OPERATOR_NEW void solve (const StateEquation &state_eq, double t, const Eigen::Ref< const Eigen::VectorXd > &x, const Eigen::Ref< const Eigen::VectorXd > &u, double dt, Eigen::Ref< Eigen::VectorXd > ret)=0
 

Detailed Description

Virtual class to solve Ordinaly Diferential Equation.

Definition at line 14 of file OdeSolver.h.

Member Typedef Documentation

◆ StateEquation

using nmpc_cgmres::OdeSolver::StateEquation = std::function<void(double, const Eigen::Ref<const Eigen::VectorXd> &, const Eigen::Ref<const Eigen::VectorXd> &, Eigen::Ref<Eigen::VectorXd>)>

Definition at line 20 of file OdeSolver.h.

Member Function Documentation

◆ solve()

virtual EIGEN_MAKE_ALIGNED_OPERATOR_NEW void nmpc_cgmres::OdeSolver::solve ( const StateEquation state_eq,
double  t,
const Eigen::Ref< const Eigen::VectorXd > &  x,
const Eigen::Ref< const Eigen::VectorXd > &  u,
double  dt,
Eigen::Ref< Eigen::VectorXd >  ret 
)
pure virtual

The documentation for this class was generated from the following file: