35 #ifndef ACADO_TOOLKIT_C_FUNCTION_HPP 36 #define ACADO_TOOLKIT_C_FUNCTION_HPP 311 #endif // ACADO_TOOLKIT_C_FUNCTION_HPP
virtual returnValue AD_backward2(int number, double *seed1, double *seed2, double *df, double *ddf)
Allows to pass back messages to the calling function.
virtual void evaluateCFunction(double *x, double *result)
virtual returnValue AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
#define CLOSE_NAMESPACE_ACADO
void(* cFcnDPtr)(int number, double *x, double *seed, double *f, double *df, void *userData)
Base class for all variables within the symbolic expressions family.
void copy(const CFunction &arg)
virtual Expression operator()(const Expression &arg)
virtual returnValue evaluate(double *x, double *result)
virtual uint getDim() const
virtual returnValue setUserData(void *user_data_)
void rhs(const real_t *x, real_t *f)
CFunction & operator=(const CFunction &rhs)
virtual returnValue AD_backward(double *seed, double *df)
#define BEGIN_NAMESPACE_ACADO
void(* cFcnPtr)(double *x, double *f, void *userData)
virtual returnValue clearBuffer()
virtual returnValue AD_forward(double *x, double *seed, double *f, double *df)