thrust::make_transform_output_iterator
Defined in thrust/iterator/transform_output_iterator.h
-
template<typename UnaryFunction, typename OutputIterator>
transform_output_iterator<UnaryFunction, OutputIterator> thrust::make_transform_output_iterator(OutputIterator out, UnaryFunction fun) make_transform_output_iteratorcreates atransform_output_iteratorfrom anOutputIteratorandUnaryFunction.See also
- Parameters
out – The
OutputIteratorpointing to the output range of the newly createdtransform_output_iteratorfun – The
UnaryFunctiontransform the object before assigning it tooutby the newly createdtransform_output_iterator