34 #ifndef ACADO_TOOLKIT_NONSMOOTH_OPERATOR_HPP 35 #define ACADO_TOOLKIT_NONSMOOTH_OPERATOR_HPP 424 virtual std::ostream&
print( std::ostream &stream )
const;
477 int &component )
const;
virtual returnValue enumerateVariables(SymbolicIndexList *indexList)
ConstraintComponent operator==(const double &b) const
ConstraintComponent operator<=(const double &ub) const
Expression operator*(const double &arg) const
virtual returnValue AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)
virtual std::ostream & print(std::ostream &stream) const
virtual BooleanType isSmooth() const
Abstract base class for all scalar-valued symbolic operators.
Operator & operator/=(const double &arg)
virtual ~NonsmoothOperator()
virtual returnValue setMonotonicity(MonotonicityType monotonicity_)
virtual returnValue clearBuffer()
Expression operator/(const double &arg) const
virtual TreeProjection * cloneTreeProjection() const
ConstraintComponent operator>=(const double &lb) const
Provides a time grid consisting of vector-valued optimization variables at each grid point...
Allows to pass back messages to the calling function.
virtual OperatorName getName()
virtual Operator * passArgument() const
virtual Operator * AD_forward(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)
Expression operator-() const
virtual returnValue AD_backward(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)
virtual returnValue evaluate(int number, double *x, double *result)
virtual BooleanType isDependingOn(VariableType var) const
virtual returnValue loadIndices(SymbolicIndexList *indexList)
virtual BooleanType isLinearIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
Operator & operator+=(const double &arg)
virtual NeutralElement isOneOrZero() const
#define CLOSE_NAMESPACE_ACADO
Manages the indices of SymbolicVariables.
Data class for symbolically formulating constraints within optimal control problems.
virtual returnValue setCurvature(CurvatureType curvature_)
virtual BooleanType isVariable(VariableType &varType, int &component) const
Base class for all variables within the symbolic expressions family.
Operator & operator*=(const double &arg)
virtual Operator * substitute(int index, const Operator *sub)
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 Operator * clone() const
virtual Operator * differentiate(int index)
Expression operator+(const double &arg) const
virtual MonotonicityType getMonotonicity()
Abstract base class for all scalar-valued symbolic operators.
virtual Operator & operator=(const double &arg)
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)
Implements the tree-projection operator within the family of SymbolicOperators.
virtual CurvatureType getCurvature()
virtual BooleanType isSymbolic() const
#define BEGIN_NAMESPACE_ACADO
Abstract base class for templated evaluation of operators.
virtual double getValue() const
virtual BooleanType isPolynomialIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
Operator & operator-=(const double &arg)
virtual int getGlobalIndex() const