46 return 2*v1*(1+v1*v1);
114 return new Tan(*
this);
Abstract base class for all scalar-valued symbolic operators.
Abstract base class for all scalar-valued unary operators within the symbolic operators family...
Allows to pass back messages to the calling function.
virtual Operator * clone() const =0
virtual void Tan(Operator &arg)=0
virtual Operator * substitute(int index, const Operator *sub)=0
IntermediateState tan(const Expression &arg)
virtual Operator * substitute(int index, const Operator *sub)
#define CLOSE_NAMESPACE_ACADO
UnaryOperator & operator=(const UnaryOperator &arg)
Implements the scalar cosine operator within the symbolic operators family.
Implements the scalar tangens operator within the symbolic operators family.
virtual returnValue initDerivative()
Implements the scalar power operator with integer exponent within the symbolic operators family...
virtual returnValue initDerivative()
Tan & operator=(const Tan &arg)
Implements the scalar quotient operator within the symbolic operators family.
virtual Operator * clone() const
OperatorName operatorName
virtual TreeProjection * convert2TreeProjection(Operator *a) const
#define BEGIN_NAMESPACE_ACADO
Abstract base class for templated evaluation of operators.
virtual returnValue evaluate(EvaluationBase *x)
Implements a scalar constant within the symbolic operators family.
Implements the scalar product operator within the symbolic operators family.