autogenu-jupyter
An automatic code generator and the continuation/GMRES (C/GMRES) based numerical solvers for nonlinear MPC
Loading...
Searching...
No Matches
integrator.hpp File Reference
#include "cgmres/types.hpp"
Include dependency graph for integrator.hpp:

Go to the source code of this file.

Namespaces

namespace  cgmres
 

Functions

template<typename OCP , typename StateVectorType , typename ControlInputVectorType >
VectorX cgmres::ForwardEuler (const OCP &ocp, const Scalar t, const Scalar dt, const MatrixBase< StateVectorType > &x, const MatrixBase< ControlInputVectorType > &u)
 Computes the next state by the forward Euler. More...
 
template<typename OCP , typename StateVectorType , typename ControlInputVectorType >
VectorX cgmres::RK4 (const OCP &ocp, const Scalar t, const Scalar dt, const MatrixBase< StateVectorType > &x, const MatrixBase< ControlInputVectorType > &u)
 Computes the next state by the 4th-order Runge-Kutta method. More...