nmpc_cgmres
Public Member Functions | List of all members
nmpc_cgmres::RungeKuttaOdeSolver Class Reference

Class to solve Ordinaly Diferential Equation by Runge-Kutta method. More...

#include <OdeSolver.h>

Inheritance diagram for nmpc_cgmres::RungeKuttaOdeSolver:
Inheritance graph
[legend]
Collaboration diagram for nmpc_cgmres::RungeKuttaOdeSolver:
Collaboration graph
[legend]

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) override
 

Additional Inherited Members

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

Detailed Description

Class to solve Ordinaly Diferential Equation by Runge-Kutta method.

Definition at line 53 of file OdeSolver.h.

Member Function Documentation

◆ solve()

virtual EIGEN_MAKE_ALIGNED_OPERATOR_NEW void nmpc_cgmres::RungeKuttaOdeSolver::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 
)
inlineoverridevirtual

Implements nmpc_cgmres::OdeSolver.

Definition at line 58 of file OdeSolver.h.


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