#ifndef FUNC_NEG_H_
#define FUNC_NEG_H_

#include <functions/ScalarFunc.h>

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

#endif /* FUNC_NEG_H_ */


syntax highlighted by Code2HTML, v. 0.9.1