255 return ADsymmetricProtected( dim, varType, component, l, S, dimS, dfS, ldf, H, nNewLIS, newLIS, nNewSIS, newSIS, nNewHIS, newHIS );
352 double *f,
double *df ){
387 double *df,
double *ddf ){
389 double ddargument_result;
390 double dargument_result2;
393 &dargument_result2, &ddargument_result);
397 df[0] = nn*dargument_result2;
398 ddf[0] = nn*ddargument_result
407 double *df,
double *ddf ){
476 const std::vector< std::string >& _name
549 return ADsymCommon(
argument, dx, ddx, dim, varType, component, l, S, dimS, dfS,
550 ldf, H, nNewLIS, newLIS, nNewSIS, newSIS, nNewHIS, newHIS );
virtual returnValue AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)=0
Operator * differentiate(int index)
virtual MonotonicityType getMonotonicity()=0
Abstract base class for all scalar-valued symbolic operators.
virtual BooleanType isDependingOn(VariableType var) const =0
virtual BooleanType isPolynomialIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
Abstract base class for all scalar-valued unary operators within the symbolic operators family...
virtual Operator * differentiate(int index)=0
Allows to pass back messages to the calling function.
virtual returnValue loadIndices(SymbolicIndexList *indexList)=0
virtual BooleanType isVariable(VariableType &varType, int &component) const
virtual Operator * clone() const =0
virtual BooleanType isSymbolic() const
virtual returnValue setVariableExportName(const VariableType &_type, const std::vector< std::string > &_name)
virtual OperatorName getName()
#define CLOSE_NAMESPACE_ACADO
virtual BooleanType isSymbolic() const =0
virtual returnValue AD_backward(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)
Manages the indices of SymbolicVariables.
virtual NeutralElement isOneOrZero() const
virtual BooleanType isRationalIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
UnaryOperator & operator=(const UnaryOperator &arg)
virtual Operator * AD_forward(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)=0
virtual returnValue loadIndices(SymbolicIndexList *indexList)
virtual returnValue enumerateVariables(SymbolicIndexList *indexList)=0
virtual returnValue AD_backward2(int number, double seed1, double seed2, double *df, double *ddf)
MonotonicityType monotonicity
virtual returnValue AD_backward2(int number, double seed1, double seed2, double *df, double *ddf)=0
virtual returnValue clearBuffer()
virtual BooleanType isLinearIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
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 setVariableExportName(const VariableType &_type, const std::vector< std::string > &_name)
virtual Operator * myProd(Operator *a, Operator *b)
virtual returnValue AD_backward(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)=0
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)
returnValue ADsymCommon(Operator *a, TreeProjection &da, TreeProjection &dda, 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 std::ostream & print(std::ostream &stream) const
virtual MonotonicityType getMonotonicity()
virtual returnValue evaluate(int number, double *x, double *result)=0
virtual returnValue setCurvature(CurvatureType curvature_)
virtual returnValue evaluate(int number, double *x, double *result)
Abstract base class for all scalar-valued symbolic operators.
OperatorName operatorName
Implements the tree-projection operator within the family of SymbolicOperators.
double * dargument_result
#define BEGIN_NAMESPACE_ACADO
Operator * ADforwardProtected(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)
returnValue ADbackwardProtected(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)
virtual CurvatureType getCurvature()=0
virtual returnValue setMonotonicity(MonotonicityType monotonicity_)
virtual returnValue enumerateVariables(SymbolicIndexList *indexList)
virtual returnValue AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)
virtual CurvatureType getCurvature()
virtual Operator * AD_forward(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)
virtual BooleanType isDependingOn(VariableType var) const