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