thrust::make_transform_iterator
Defined in thrust/iterator/transform_iterator.h
- 
template<class AdaptableUnaryFunction, class Iterator>
 inline transform_iterator<AdaptableUnaryFunction, Iterator> thrust::make_transform_iterator(Iterator it, AdaptableUnaryFunction fun)
- make_transform_iteratorcreates a- transform_iteratorfrom an- Iteratorand- AdaptableUnaryFunction.- See also - Parameters
- it – The - Iteratorpointing to the input range of the newly created- transform_iterator.
- fun – The - AdaptableUnaryFunctionused to transform the range pointed to by- itin the newly created- transform_iterator.
 
- Returns
- A new - transform_iteratorwhich transforms the range at- itby- fun.