Thrust
|
Fills a range with values "generated" from a function of no arguments. More...
#include <thrust/detail/config.h>
#include <thrust/detail/execution_policy.h>
#include <thrust/detail/generate.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 Generator > | |
__host__ __device__ void | thrust::generate (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, ForwardIterator first, ForwardIterator last, Generator gen) |
template<typename ForwardIterator , typename Generator > | |
void | thrust::generate (ForwardIterator first, ForwardIterator last, Generator gen) |
template<typename DerivedPolicy , typename OutputIterator , typename Size , typename Generator > | |
__host__ __device__ OutputIterator | thrust::generate_n (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, OutputIterator first, Size n, Generator gen) |
template<typename OutputIterator , typename Size , typename Generator > | |
OutputIterator | thrust::generate_n (OutputIterator first, Size n, Generator gen) |
Fills a range with values "generated" from a function of no arguments.