#ifndef FUNC_MULTIPLY_H_ #define FUNC_MULTIPLY_H_ #include /** * @short Product of two scalars * * The Multiply function implements the infix operator "*" in the * BUGS language. The expression a * b * c is broken down into ((a * * b) * c), so two separate calls to Multiply are made. */ class Multiply:public ScalarFunc { public: Multiply (); double eval (std::vector const &args) const; bool isDiscreteValued(std::vector const &args) const; }; #endif /* FUNC_MULTIPLY_H_ */