#ifndef FUNC_INPROD_H_ #define FUNC_INPROD_H_ #include /** * @short Inner product of two vectors * The InProd function returns the sum of the product of corresponding * elements from two arrays with the same dimension *
 * y <- inprod(a[],b[])
 * 
*/ class InProd : public ScalarFunc { public: InProd (); double eval (std::vector const &args) const; bool checkParameterDim (std::vector const &args) const; bool isDiscreteValued(std::vector const &args) const; }; #endif /* FUNC_INPROD_H_ */