35 #ifndef ACADO_TOOLKIT_C_OPERATOR_HPP 36 #define ACADO_TOOLKIT_C_OPERATOR_HPP 365 virtual std::ostream&
print( std::ostream& stream )
const;
402 int &component )
const;
virtual returnValue evaluate(int number, double *x, double *result)
virtual BooleanType isSymbolic() const
virtual BooleanType isVariable(VariableType &varType, int &component) const
virtual std::ostream & print(std::ostream &stream) const
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 returnValue enumerateVariables(SymbolicIndexList *indexList)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
virtual returnValue clearBuffer()
virtual MonotonicityType getMonotonicity()
#define CLOSE_NAMESPACE_ACADO
Manages the indices of SymbolicVariables.
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)
Base class for all variables within the symbolic expressions family.
virtual BooleanType isDependingOn(VariableType var) const
virtual Operator * clone() const
virtual Operator * substitute(int index, const Operator *sub)
virtual OperatorName getName()
The class COperator is an auxiliary class to use C-Functions within a function evaluation tree...
Abstract base class for all scalar-valued symbolic operators.
virtual CurvatureType getCurvature()
virtual Operator * differentiate(int index)
Implements the tree-projection operator within the family of SymbolicOperators.
void copy(const COperator &arg)
#define BEGIN_NAMESPACE_ACADO
COperator & operator=(const COperator &arg)
Abstract base class for templated evaluation of operators.
virtual returnValue AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)
virtual returnValue loadIndices(SymbolicIndexList *indexList)
virtual BooleanType isLinearIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual Operator * AD_forward(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)
virtual BooleanType isPolynomialIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual BooleanType isRationalIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual returnValue AD_backward2(int number, double seed1, double seed2, double *df, double *ddf)
virtual NeutralElement isOneOrZero() const
virtual returnValue setMonotonicity(MonotonicityType monotonicity_)
virtual returnValue setCurvature(CurvatureType curvature_)