34 #ifndef ACADO_TOOLKIT_ADDITION_HPP 35 #define ACADO_TOOLKIT_ADDITION_HPP 312 virtual std::ostream&
print( std::ostream &stream )
const;
virtual returnValue AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)
Abstract base class for all scalar-valued binary operators within the symbolic operators family...
Abstract base class for all scalar-valued symbolic operators.
virtual CurvatureType getCurvature()
virtual BooleanType isRationalIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
Allows to pass back messages to the calling function.
virtual returnValue AD_backward2(int number, double seed1, double seed2, double *df, double *ddf)
#define CLOSE_NAMESPACE_ACADO
virtual std::ostream & print(std::ostream &stream) const
virtual returnValue AD_symmetric(int dim, VariableType *varType, int *component, Operator *l, Operator **S, int dimS, Operator **dfS, Operator **ldf, Operator **H, int &nNewLIS, TreeProjection ***newLIS, int &nNewSIS, TreeProjection ***newSIS, int &nNewHIS, TreeProjection ***newHIS)
virtual returnValue evaluate(int number, double *x, double *result)
virtual BooleanType isPolynomialIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual Operator * differentiate(int index)
virtual BooleanType isLinearIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
Implements the scalar addition operator within the symbolic expressions family.
virtual OperatorName getName()
virtual Operator * AD_forward(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)
virtual returnValue AD_backward(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)
virtual Operator * substitute(int index, const Operator *sub)
Implements the tree-projection operator within the family of SymbolicOperators.
virtual Operator * clone() const
#define BEGIN_NAMESPACE_ACADO
Abstract base class for templated evaluation of operators.
Addition & operator=(const Addition &arg)
virtual MonotonicityType getMonotonicity()
virtual double getValue() const