#ifndef FUNC_MULTIPLY_H_
#define FUNC_MULTIPLY_H_

#include <functions/ScalarFunc.h>

/**
 * @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 <SArray const *> const &args) const;
  bool isDiscreteValued(std::vector<SArray const *> const &args) const;
};

#endif /* FUNC_MULTIPLY_H_ */


syntax highlighted by Code2HTML, v. 0.9.1