62 xx(0) = 1.0; dx(0) = 0.5;
63 xx(1) = 1.0; dx(1) = 0.1;
74 cout <<
"result of evaluation : " << ff;
75 cout <<
"result of the derivative: " << df;
Allows to setup and evaluate a general function based on SymbolicExpressions.
USING_NAMESPACE_ACADO int main()
#define USING_NAMESPACE_ACADO
DVector evaluate(const EvaluationPoint &x, const int &number=0)
IntermediateState pow(const Expression &arg1, const Expression &arg2)
Allows to setup function evaluation points.
returnValue setX(const DVector &x)
DVector AD_forward(const EvaluationPoint &x, const int &number=0)