34 #ifndef ACADO_TOOLKIT_T_EVALUATION_POINT_HPP 35 #define ACADO_TOOLKIT_T_EVALUATION_POINT_HPP 141 void copyIdx(
const uint &dim,
const int *idx1,
int **idx2 );
184 init(f,nx_,na_,nu_,np_,nw_,nd_,N_);
219 idx[0] =
new int [1 ];
220 idx[1] =
new int [
nx];
221 idx[2] =
new int [
na];
222 idx[3] =
new int [
np];
223 idx[4] =
new int [
nu];
224 idx[5] =
new int [
nw];
225 idx[6] =
new int [
nd];
229 for( run1 = 0; run1 <
nx; run1++ )
232 for( run1 = 0; run1 <
na; run1++ )
235 for( run1 = 0; run1 <
np; run1++ )
238 for( run1 = 0; run1 <
nu; run1++ )
241 for( run1 = 0; run1 <
nw; run1++ )
244 for( run1 = 0; run1 <
nd; run1++ )
259 *idx2 =
new int[dim];
260 for( i = 0; i <
N; i++ )
297 if(
z != 0 )
delete z;
301 for( i = 0; i < 7; i++ )
311 #include <acado/function/t_evaluation_point.ipp> 314 #endif // ACADO_TOOLKIT_T_EVALUATION_POINT_HPP
virtual ~TevaluationPoint()
Allows to setup and evaluate a general function based on SymbolicExpressions.
Implements a templated dense matrix class.
int acadoMax(const int x, const int y)
returnValue init(const Function &f, uint nx_=0, uint na_=0, uint np_=0, uint nu_=0, uint nw_=0, uint nd_=0, uint N_=0)
Tmatrix< T > getW() const
Allows to pass back messages to the calling function.
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
Tmatrix< T > backCopy(const int *order, const uint &dim) const
Tmatrix< T > * getEvaluationPointer() const
Tmatrix< T > getDX() const
#define CLOSE_NAMESPACE_ACADO
returnValue setW(const Tmatrix< T > &w)
returnValue setT(const Tmatrix< T > &t)
returnValue setXA(const Tmatrix< T > &xa)
Tmatrix< T > getP() const
Tmatrix< T > getT() const
void copyIdx(const uint &dim, const int *idx1, int **idx2)
returnValue setU(const Tmatrix< T > &u)
Tmatrix< T > getX() const
int index(VariableType variableType_, int index_) const
void rhs(const real_t *x, real_t *f)
Tmatrix< T > getXA() const
returnValue copy(const int *order, const Tmatrix< T > &rhs)
#define BEGIN_NAMESPACE_ACADO
Tmatrix< T > getU() const
TevaluationPoint< T > & operator=(const TevaluationPoint< T > &rhs)
int getNumberOfVariables() const
returnValue setX(const Tmatrix< T > &x)
returnValue setDX(const Tmatrix< T > &dx)
Allows to setup function evaluation points.
returnValue setP(const Tmatrix< T > &p)