83 printf(
"dim = %d \n", f.
getDim() );
84 printf(
"nx = %d \n", f.
getNX() );
85 printf(
"np = %d \n", f.
getNP() );
90 printf(
"dim = %d \n", f.
getDim() );
91 printf(
"nx = %d \n", f.
getNX() );
92 printf(
"np = %d \n", f.
getNP() );
96 int x_index, y_index, q_index;
103 double *result =
new double[ f.
getDim() ];
116 for( run1 = 0; run1 < f.
getDim(); run1++ )
117 printf(
"f = %10e \n", result[run1] );
USING_NAMESPACE_ACADO IntermediateState sin(const Expression &arg)
Allows to setup and evaluate a general function based on SymbolicExpressions.
IntermediateState sqrt(const Expression &arg)
IntermediateState atan(const Expression &arg)
#define USING_NAMESPACE_ACADO
DVector evaluate(const EvaluationPoint &x, const int &number=0)
IntermediateState asin(const Expression &arg)
IntermediateState pow(const Expression &arg1, const Expression &arg2)
IntermediateState tan(const Expression &arg)
returnValue substitute(VariableType variableType_, int index_, double sub_)
IntermediateState cos(const Expression &arg)
IntermediateState acos(const Expression &arg)
int index(VariableType variableType_, int index_) const
IntermediateState ln(const Expression &arg)
IntermediateState exp(const Expression &arg)
int getNumberOfVariables() const