39 return -1/
sqrt(1-x*x);
44 double v1 =
sqrt(1-x*x);
45 return 2*x*(-0.5/v1/v1/v1);
112 return new Acos(*
this);
IntermediateState sqrt(const Expression &arg)
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.
Implements the scalar power operator within the symbolic operators family.
virtual Operator * clone() const =0
virtual Operator * substitute(int index, const Operator *sub)=0
#define CLOSE_NAMESPACE_ACADO
UnaryOperator & operator=(const UnaryOperator &arg)
Acos & operator=(const Acos &arg)
IntermediateState acos(const Expression &arg)
virtual Operator * clone() const
Implements the scalar power operator with integer exponent within the symbolic operators family...
virtual returnValue initDerivative()
virtual returnValue initDerivative()
Implements the scalar addition operator within the symbolic expressions family.
virtual returnValue evaluate(EvaluationBase *x)
virtual void Acos(Operator &arg)=0
OperatorName operatorName
virtual TreeProjection * convert2TreeProjection(Operator *a) const
Implements the scalar inverse cosine operator (arccos) within the symbolic operators family...
#define BEGIN_NAMESPACE_ACADO
Abstract base class for templated evaluation of operators.
Implements a scalar constant within the symbolic operators family.
virtual Operator * substitute(int index, const Operator *sub)
Implements the scalar product operator within the symbolic operators family.