35 #ifndef ACADO_TOOLKIT_POWER_HPP 36 #define ACADO_TOOLKIT_POWER_HPP 309 virtual std::ostream&
print( std::ostream &stream )
const;
virtual returnValue AD_backward2(int number, double seed1, double seed2, double *df, double *ddf)
virtual BooleanType isPolynomialIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual Operator * AD_forward(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)
Abstract base class for all scalar-valued binary operators within the symbolic operators family...
virtual BooleanType isLinearIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
Abstract base class for all scalar-valued symbolic operators.
TreeProjection * derivative02
virtual CurvatureType getCurvature()
virtual Operator * substitute(int index, const Operator *sub)
virtual returnValue evaluate(int number, double *x, double *result)
TreeProjection * derivative22
Allows to pass back messages to the calling function.
Implements the scalar power operator within the symbolic operators family.
virtual MonotonicityType getMonotonicity()
#define CLOSE_NAMESPACE_ACADO
TreeProjection * derivative12
virtual returnValue initDerivative()
virtual std::ostream & print(std::ostream &stream) const
TreeProjection * derivative21
virtual returnValue AD_backward(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)
virtual OperatorName getName()
virtual BooleanType isRationalIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual returnValue AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)
Implements the tree-projection operator within the family of SymbolicOperators.
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)
#define BEGIN_NAMESPACE_ACADO
TreeProjection * derivative01
Abstract base class for templated evaluation of operators.
Power & operator=(const Power &arg)
TreeProjection * derivative23
virtual Operator * clone() const