35 #ifndef ACADO_TOOLKIT_UNARY_OPERATOR_HPP 36 #define ACADO_TOOLKIT_UNARY_OPERATOR_HPP 320 virtual std::ostream&
print( std::ostream &stream )
const;
355 int &component )
const;
449 const std::vector< std::string >& _name
Operator * differentiate(int index)
Abstract base class for all scalar-valued symbolic operators.
virtual BooleanType isPolynomialIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
Abstract base class for all scalar-valued unary operators within the symbolic operators family...
Allows to pass back messages to the calling function.
virtual BooleanType isVariable(VariableType &varType, int &component) const
virtual BooleanType isSymbolic() const
virtual OperatorName getName()
#define CLOSE_NAMESPACE_ACADO
virtual returnValue AD_backward(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)
Manages the indices of SymbolicVariables.
virtual NeutralElement isOneOrZero() const
virtual BooleanType isRationalIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual Operator * substitute(int index, const Operator *sub)=0
UnaryOperator & operator=(const UnaryOperator &arg)
virtual returnValue loadIndices(SymbolicIndexList *indexList)
virtual returnValue AD_backward2(int number, double seed1, double seed2, double *df, double *ddf)
MonotonicityType monotonicity
virtual returnValue clearBuffer()
virtual BooleanType isLinearIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual Operator * clone() const =0
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 setVariableExportName(const VariableType &_type, const std::vector< std::string > &_name)
returnValue ADsymmetricProtected(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 std::ostream & print(std::ostream &stream) const
virtual MonotonicityType getMonotonicity()
virtual returnValue setCurvature(CurvatureType curvature_)
virtual returnValue evaluate(int number, double *x, double *result)
Abstract base class for all scalar-valued symbolic operators.
OperatorName operatorName
Implements the tree-projection operator within the family of SymbolicOperators.
double * dargument_result
#define BEGIN_NAMESPACE_ACADO
Operator * ADforwardProtected(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)
returnValue ADbackwardProtected(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)
Abstract base class for templated evaluation of operators.
virtual returnValue setMonotonicity(MonotonicityType monotonicity_)
virtual returnValue enumerateVariables(SymbolicIndexList *indexList)
virtual returnValue AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)
virtual CurvatureType getCurvature()
virtual Operator * AD_forward(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)
virtual BooleanType isDependingOn(VariableType var) const