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