Thrust
|
Mathematical inner product between ranges. More...
#include <thrust/detail/config.h>
#include <thrust/detail/execution_policy.h>
#include <thrust/detail/inner_product.inl>
Go to the source code of this file.
Namespaces | |
thrust | |
thrust is the top-level namespace which contains all Thrust functions and types. | |
Functions | |
template<typename DerivedPolicy , typename InputIterator1 , typename InputIterator2 , typename OutputType > | |
__host__ __device__ OutputType | thrust::inner_product (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputType init) |
template<typename InputIterator1 , typename InputIterator2 , typename OutputType > | |
OutputType | thrust::inner_product (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputType init) |
template<typename DerivedPolicy , typename InputIterator1 , typename InputIterator2 , typename OutputType , typename BinaryFunction1 , typename BinaryFunction2 > | |
__host__ __device__ OutputType | thrust::inner_product (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputType init, BinaryFunction1 binary_op1, BinaryFunction2 binary_op2) |
template<typename InputIterator1 , typename InputIterator2 , typename OutputType , typename BinaryFunction1 , typename BinaryFunction2 > | |
OutputType | thrust::inner_product (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputType init, BinaryFunction1 binary_op1, BinaryFunction2 binary_op2) |
Mathematical inner product between ranges.