33 #ifndef ACADO_TOOLKIT_VARIABLES_GRID_HPP 34 #define ACADO_TOOLKIT_VARIABLES_GRID_HPP 88 const char**
const _names = 0,
89 const char**
const _units = 0,
90 const DVector*
const _scaling = 0,
114 const char**
const _names = 0,
115 const char**
const _units = 0,
116 const DVector*
const _scaling = 0,
145 const char**
const _names = 0,
146 const char**
const _units = 0,
147 const DVector*
const _scaling = 0,
350 const char**
const _names = 0,
351 const char**
const _units = 0,
352 const DVector*
const _scaling = 0,
377 const char**
const _names = 0,
378 const char**
const _units = 0,
379 const DVector*
const _scaling = 0,
410 const char**
const _names = 0,
411 const char**
const _units = 0,
412 const DVector*
const _scaling = 0,
442 double newTime = -
INFTY 647 #include <acado/variables_grid/variables_grid.ipp> 656 #endif // ACADO_TOOLKIT_VARIABLES_GRID_HPP VariablesGrid & shiftTimes(double timeShift)
VariablesGrid & shiftBackwards(DVector lastValue=emptyVector)
VariablesGrid & operator=(const VariablesGrid &rhs)
VariablesGrid operator+(const VariablesGrid &arg) const
User-interface to formulate and solve optimal control problems and static NLPs.
Provides a time grid consisting of vector-valued optimization variables at each grid point...
returnValue getSum(DVector &sum) const
Allows to pass back messages to the calling function.
VariablesGrid getValuesSubGrid(uint startIdx, uint endIdx) const
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
Allows to conveniently handle (one-dimensional) grids consisting of time points.
User-interface to formulate and solve model predictive control problems.
#define CLOSE_NAMESPACE_ACADO
Base class for user-interfaces to formulate and solve optimal control problems and static NLPs...
GenericMatrix< double > DMatrix
returnValue appendValues(const VariablesGrid &arg)
CLOSE_NAMESPACE_ACADO static BEGIN_NAMESPACE_ACADO VariablesGrid emptyVariablesGrid
BooleanType operator==(const VariablesGrid &arg) const
returnValue merge(const VariablesGrid &arg, MergeMethod _mergeMethod=MM_DUPLICATE, BooleanType keepOverlap=BT_TRUE)
returnValue setVector(uint pointIdx, const DVector &_values)
Provides a time grid consisting of matrix-valued optimization variables at each grid point...
VariablesGrid & operator-=(const VariablesGrid &arg)
returnValue addVector(const DVector &newVector, double newTime=-INFTY)
DVector getFirstVector() const
returnValue setAllVectors(const DVector &_values)
VariablesGrid & operator+=(const VariablesGrid &arg)
DVector getLastVector() const
VariablesGrid getTimeSubGrid(uint startIdx, uint endIdx) const
returnValue appendTimes(const VariablesGrid &arg, MergeMethod _mergeMethod=MM_DUPLICATE)
const Grid trivialGrid(1)
void rhs(const real_t *x, real_t *f)
VariablesGrid operator[](const uint pointIdx) const
returnValue initializeFromBounds()
DVector getVector(uint pointIdx) const
static DVector emptyVector
#define BEGIN_NAMESPACE_ACADO
double & operator()(uint pointIdx, uint rowIdx)
returnValue getIntegral(InterpolationMode mode, DVector &value) const
static const VariablesGrid emptyConstVariablesGrid
VariablesGrid operator-(const VariablesGrid &arg) const