46 const std::string& _commonHeaderName
74 const std::string &_commonHeaderName)
80 AA(0,0) = 1.0/4.0;
AA(0,1) = (1.0/4.0+
sqrt(3.0)/6.0);
81 AA(1,0) = (1.0/4.0-
sqrt(3.0)/6.0);
AA(1,1) = 1.0/4.0;
86 cc(0) = 1.0/2.0+
sqrt(3.0)/6.0;
87 cc(1) = 1.0/2.0-
sqrt(3.0)/6.0;
IntermediateState sqrt(const Expression &arg)
#define CLOSE_NAMESPACE_ACADO
virtual returnValue copy(const ImplicitRungeKuttaExport &arg)
Allows to export a tailored Gauss-Legendre method of order 4 for fast model predictive control...
Allows to export a tailored implicit Runge-Kutta integrator for fast model predictive control...
IntegratorExport * createGaussLegendre4Export(UserInteraction *_userInteraction, const std::string &_commonHeaderName)
Encapsulates all user interaction for setting options, logging data and plotting results.
virtual ~GaussLegendre4Export()
returnValue initializeButcherTableau(const DMatrix &_AA, const DVector &_bb, const DVector &_cc)
Allows to export a tailored integrator for fast model predictive control.
#define BEGIN_NAMESPACE_ACADO
GaussLegendre4Export(UserInteraction *_userInteraction=0, const std::string &_commonHeaderName="")
virtual returnValue clear()