54 const char**
const _names,
55 const char**
const _units,
110 const char**
const _names,
111 const char**
const _units,
135 return newMatrixVariable;
137 if ( startIdx > endIdx )
138 return newMatrixVariable;
144 return newMatrixVariable;
155 return newMatrixVariable;
157 if ( startIdx > endIdx )
158 return newMatrixVariable;
165 return newMatrixVariable;
void init(unsigned _nRows=0, unsigned _nCols=0)
MatrixVariable getCols(uint startIdx, uint endIdx) const
Allows to pass back messages to the calling function.
MatrixVariable & operator=(const MatrixVariable &rhs)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
#define CLOSE_NAMESPACE_ACADO
GenericMatrix getCols(unsigned _start, unsigned _end) const
VariableSettings & operator=(const VariableSettings &rhs)
returnValue init(uint _nRows, uint _nCols, VariableType _type=VT_UNKNOWN, const char **const _names=0, const char **const _units=0, DVector _scaling=emptyVector, DVector _lb=emptyVector, DVector _ub=emptyVector, BooleanType _autoInit=defaultAutoInit)
Provides matrix-valued optimization variables.
Provides variable-specific settings for vector- or matrix-valued optimization variables (for internal...
void rhs(const real_t *x, real_t *f)
unsigned getNumRows() const
MatrixVariable getRows(uint startIdx, uint endIdx) const
EIGEN_STRONG_INLINE Matrix & operator=(const Matrix &other)
Assigns matrices to each other.
unsigned getNumCols() const
#define BEGIN_NAMESPACE_ACADO
GenericMatrix getRows(unsigned _start, unsigned _end) const
#define ACADOERROR(retval)