thrust

◆ permutation_iterator() [2/3]

template<typename ElementIterator, typename IndexIterator>
__host__ __device__ thrust::permutation_iterator< ElementIterator, IndexIterator >::permutation_iterator ( ElementIterator  x,
IndexIterator  y 
)
inlineexplicit

Constructor accepts an ElementIterator into a range of values and an IndexIterator into a range of indices defining the indexing scheme on the values.

Parameters
xAn ElementIterator pointing this permutation_iterator's range of values.
yAn IndexIterator pointing to an indexing scheme to use on x.