18 #if !defined( BOLT_AMP_INNERPRODUCT_H )
19 #define BOLT_AMP_INNERPRODUCT_H
78 template<
typename InputIterator,
typename OutputType>
80 InputIterator first2, OutputType init);
82 template<
typename InputIterator,
typename OutputType>
83 OutputType
inner_product( InputIterator first1, InputIterator last1, InputIterator first2, OutputType init);
120 template<
typename InputIterator,
typename OutputType,
typename BinaryFunction1,
typename BinaryFunction2>
122 InputIterator first2, OutputType init,
123 BinaryFunction1 f1, BinaryFunction2 f2);
125 template<
typename InputIterator,
typename OutputType,
typename BinaryFunction1,
typename BinaryFunction2>
126 OutputType
inner_product( InputIterator first1, InputIterator last1, InputIterator first2, OutputType init,
127 BinaryFunction1 f1, BinaryFunction2 f2);
133 #include <bolt/amp/detail/inner_product.inl>