112 return new Cos(*
this);
USING_NAMESPACE_ACADO IntermediateState sin(const Expression &arg)
Abstract base class for all scalar-valued symbolic operators.
Implements the scalar sine operator within the symbolic operators family.
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 Operator * substitute(int index, const Operator *sub)=0
#define CLOSE_NAMESPACE_ACADO
IntermediateState cos(const Expression &arg)
UnaryOperator & operator=(const UnaryOperator &arg)
Implements the scalar cosine operator within the symbolic operators family.
virtual void Cos(Operator &arg)=0
virtual returnValue initDerivative()
virtual returnValue evaluate(EvaluationBase *x)
virtual Operator * clone() const
OperatorName operatorName
virtual Operator * substitute(int index, const Operator *sub)
virtual TreeProjection * convert2TreeProjection(Operator *a) const
#define BEGIN_NAMESPACE_ACADO
Abstract base class for templated evaluation of operators.
virtual returnValue initDerivative()
Cos & operator=(const Cos &arg)
Implements a scalar constant within the symbolic operators family.
Implements the scalar product operator within the symbolic operators family.