1 #ifndef CommonTools_Utils_formulaUnaryMinusEvaluator_h 2 #define CommonTools_Utils_formulaUnaryMinusEvaluator_h 41 double evaluate(
double const* iVariables,
double const* iParameters)
const final {
42 return -1. *
m_arg->evaluate(iVariables,iParameters) ;
46 ret.emplace(ret.begin(),
"unary minus");
55 std::shared_ptr<EvaluatorBase>
m_arg;