#ifndef FUNC_NEG_H_ #define FUNC_NEG_H_ #include /** * @short Unary minus operator * UnaryMinus implements the prefix operator "-" * y <- -x */ class NEG : public ScalarFunc { public: NEG (); double eval (std::vector const &args) const; bool isDiscreteValued(std::vector const &args) const; }; #endif /* FUNC_NEG_H_ */