thrust

◆ make_transform_output_iterator()

template<typename UnaryFunction , typename OutputIterator >
transform_output_iterator<UnaryFunction, OutputIterator> __host__ __device__ thrust::make_transform_output_iterator ( OutputIterator  out,
UnaryFunction  fun 
)

make_transform_output_iterator creates a transform_output_iterator from an OutputIterator and UnaryFunction.

Parameters
outThe OutputIterator pointing to the output range of the newly created transform_output_iterator
funThe UnaryFunction transform the object before assigning it to out by the newly created transform_output_iterator
See also
transform_output_iterator