202 return ADsymCommon2(
argument1,
argument2,dx,dy,dxx,dxy,dyy, dim, varType, component, l, S, dimS, dfS,
203 ldf, H, nNewLIS, newLIS, nNewSIS, newSIS, nNewHIS, newHIS );
280 if( res >= 0.0 )
return m2;
293 if( res >= 0.0 )
return m1;
321 if( res >= 0.0 )
return c2;
337 if( res >= 0.0 )
return c1;
364 double *f,
double *df ){
410 double *df,
double *ddf ){
412 double ddargument1_result;
413 double ddargument2_result;
414 double dargument_result1 ;
415 double dargument_result2 ;
418 &dargument_result1, &ddargument1_result);
420 &dargument_result2, &ddargument2_result);
434 double *df,
double *ddf ){
virtual MonotonicityType getMonotonicity()
virtual returnValue AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)=0
virtual MonotonicityType getMonotonicity()=0
virtual BooleanType isLinearIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
Abstract base class for all scalar-valued binary operators within the symbolic operators family...
Abstract base class for all scalar-valued symbolic operators.
virtual returnValue AD_backward2(int number, double seed1, double seed2, double *df, double *ddf)
virtual BooleanType isDependingOn(VariableType var) const =0
BooleanType acadoIsEqual(double x, double y, double TOL)
virtual NeutralElement isOneOrZero() const =0
virtual BooleanType isPolynomialIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
double * argument1_result
virtual Operator * differentiate(int index)=0
Allows to pass back messages to the calling function.
virtual Operator * AD_forward(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)
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)
virtual Operator * substitute(int index, const Operator *sub)=0
virtual CurvatureType getCurvature()
virtual double getValue() const
#define CLOSE_NAMESPACE_ACADO
double * dargument2_result
virtual Operator * clone() const
virtual Operator * substitute(int index, const Operator *sub)
virtual Operator * AD_forward(int dim, VariableType *varType, int *component, Operator **seed, int &nNewIS, TreeProjection ***newIS)=0
returnValue ADsymCommon2(Operator *a, Operator *b, TreeProjection &dx, TreeProjection &dy, TreeProjection &dxx, TreeProjection &dxy, TreeProjection &dyy, 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)
Product & operator=(const Product &arg)
virtual returnValue AD_backward2(int number, double seed1, double seed2, double *df, double *ddf)=0
MonotonicityType monotonicity
virtual Operator * myProd(Operator *a, Operator *b)
double * argument2_result
virtual returnValue evaluate(int number, double *x, double *result)
virtual returnValue AD_backward(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)=0
double * dargument1_result
virtual Operator * differentiate(int index)
virtual Operator * myAdd(Operator *a, Operator *b)
virtual std::ostream & print(std::ostream &stream) const
virtual BooleanType isLinearIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)=0
virtual returnValue evaluate(int number, double *x, double *result)=0
virtual void product(Operator &arg1, Operator &arg2)=0
virtual BooleanType isPolynomialIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)=0
BooleanType acadoIsFinite(double x, double TOL)
Implements the tree-projection operator within the family of SymbolicOperators.
BinaryOperator & operator=(const BinaryOperator &arg)
#define BEGIN_NAMESPACE_ACADO
virtual OperatorName getName()
Abstract base class for templated evaluation of operators.
virtual CurvatureType getCurvature()=0
virtual BooleanType isRationalIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)=0
virtual returnValue AD_backward(int dim, VariableType *varType, int *component, Operator *seed, Operator **df, int &nNewIS, TreeProjection ***newIS)
virtual BooleanType isRationalIn(int dim, VariableType *varType, int *component, BooleanType *implicit_dep)
virtual double getValue() const
virtual returnValue AD_forward2(int number, double *seed1, double *seed2, double *df, double *ddf)
Implements a scalar constant within the symbolic operators family.
Implements the scalar product operator within the symbolic operators family.