34 #ifndef ACADO_TOOLKIT_SUBTRACTION_HPP 35 #define ACADO_TOOLKIT_SUBTRACTION_HPP 311 virtual std::ostream&
print( std::ostream &stream )
const;
Abstract base class for all scalar-valued binary operators within the symbolic operators family...
Abstract base class for all scalar-valued symbolic operators.
virtual returnValue AD_backward(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)
Allows to pass back messages to the calling function.
virtual Operator * clone() const
virtual BooleanType isPolynomialIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
#define CLOSE_NAMESPACE_ACADO
virtual BooleanType isRationalIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual double getValue() 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 AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)
virtual returnValue AD_backward2(int number, double seed1, double seed2, double *df, double *ddf)
virtual std::ostream & print(std::ostream &stream) const
virtual Operator * substitute(int index, const Operator *sub)
virtual CurvatureType getCurvature()
virtual BooleanType isLinearIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual OperatorName getName()
virtual Operator * AD_forward(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)
Implements the scalar subtraction operator within the symbolic operators family.
Subtraction & operator=(const Subtraction &arg)
Implements the tree-projection operator within the family of SymbolicOperators.
#define BEGIN_NAMESPACE_ACADO
Abstract base class for templated evaluation of operators.
virtual returnValue evaluate(int number, double *x, double *result)
virtual Operator * differentiate(int index)
virtual MonotonicityType getMonotonicity()