autogenu-jupyter
An automatic code generator and the continuation/GMRES (C/GMRES) based numerical solvers for nonlinear MPC
|
#include "cgmres/types.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... | |