64 double x_start[2] = { 0.0, 1.0 };
65 Grid timeInterval( 0.0, 2.0*
M_PI, 100 );
68 integrator.
integrate( timeInterval, x_start );
75 integrator.
getX( differentialStates );
returnValue getX(DVector &xEnd) const
virtual returnValue plot(PlotFrequency _frequency=PLOT_IN_ANY_CASE)
returnValue set(OptionsName name, int value)
#define USING_NAMESPACE_ACADO
Provides a time grid consisting of vector-valued optimization variables at each grid point...
Allows to conveniently handle (one-dimensional) grids consisting of time points.
returnValue addSubplot(PlotWindowSubplot &_subplot)
virtual returnValue freezeAll()
Expression dot(const Expression &arg)
Implements the Runge-Kutta-45 scheme for integrating ODEs.
Provides an interface to Gnuplot for plotting algorithmic outputs.
returnValue integrate(double t0, double tend, double *x0, double *xa=0, double *p=0, double *u=0, double *w=0)
Allows to setup and evaluate differential equations (ODEs and DAEs) based on SymbolicExpressions.