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