Thrust
Namespaces | Functions
tabulate.h File Reference

Fills a range with the tabulation of a function. More...

#include <thrust/detail/config.h>
#include <thrust/detail/execution_policy.h>
#include <thrust/detail/tabulate.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 ForwardIterator , typename UnaryOperation >
__host__ __device__ void thrust::tabulate (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, ForwardIterator first, ForwardIterator last, UnaryOperation unary_op)
 
template<typename ForwardIterator , typename UnaryOperation >
void thrust::tabulate (ForwardIterator first, ForwardIterator last, UnaryOperation unary_op)
 

Detailed Description

Fills a range with the tabulation of a function.