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