thrust::make_shuffle_iterator#
-
template<class IndexType, class URBG>
shuffle_iterator<IndexType> thrust::make_shuffle_iterator(
)# make_shuffle_iteratorcreates ashuffle_iteratorfrom anIndexTypeandURBG.See also
- Parameters:
n – The number of elements in the permutation.
g – The
URBGused to generate the random permutation.
- Returns:
A new
shuffle_iteratorwhich generates a random permutation of the input range.