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