57 int x_index, y_index, z_index;
64 double *result =
new double[ f.
getDim() ];
75 printf(
"x = %10e \n", xx[x_index] );
76 printf(
"y = %10e \n", xx[y_index] );
77 printf(
"z = %10e \n", xx[z_index] );
78 printf(
"f = %10e \n", result[0 ] );
USING_NAMESPACE_ACADO IntermediateState sin(const Expression &arg)
Allows to setup and evaluate a general function based on SymbolicExpressions.
#define USING_NAMESPACE_ACADO
DVector evaluate(const EvaluationPoint &x, const int &number=0)
int index(VariableType variableType_, int index_) const
int getNumberOfVariables() const