MCBooster
1.0.1
Tool to generate MC phase space samples in parallel.
|
Strided range iterator original code: https://github.com/thrust/thrust/blob/master/examples/strided_range.cu. More...
#include <strided_iterator.h>
Classes | |
struct | stride_functor |
Public Types | |
typedef thrust::iterator_difference< Iterator >::type | difference_type |
typedef thrust::counting_iterator< difference_type > | CountingIterator |
typedef thrust::transform_iterator< stride_functor, CountingIterator > | TransformIterator |
typedef thrust::permutation_iterator< Iterator, TransformIterator > | PermutationIterator |
typedef PermutationIterator | iterator |
type of the strided_range iterator More... | |
Public Member Functions | |
strided_range (Iterator first, Iterator last, difference_type stride) | |
construct strided_range for the range [first,last) More... | |
iterator | begin (void) const |
iterator | end (void) const |
Protected Attributes | |
Iterator | first |
Iterator | last |
difference_type | stride |
Definition at line 40 of file strided_iterator.h.
typedef thrust::counting_iterator<difference_type> strided_range< Iterator >::CountingIterator |
Definition at line 63 of file strided_iterator.h.
typedef thrust::iterator_difference<Iterator>::type strided_range< Iterator >::difference_type |
Definition at line 44 of file strided_iterator.h.
typedef PermutationIterator strided_range< Iterator >::iterator |
Definition at line 68 of file strided_iterator.h.
typedef thrust::permutation_iterator<Iterator, TransformIterator> strided_range< Iterator >::PermutationIterator |
Definition at line 65 of file strided_iterator.h.
typedef thrust::transform_iterator<stride_functor, CountingIterator> strided_range< Iterator >::TransformIterator |
Definition at line 64 of file strided_iterator.h.
|
inline |
Definition at line 71 of file strided_iterator.h.
|
inline |
Definition at line 76 of file strided_iterator.h.
References strided_range< Iterator >::first, and strided_range< Iterator >::stride.
Referenced by strided_range< Iterator >::end().
|
inline |
Definition at line 82 of file strided_iterator.h.
References strided_range< Iterator >::begin(), strided_range< Iterator >::first, strided_range< Iterator >::last, and strided_range< Iterator >::stride.
|
protected |
Definition at line 88 of file strided_iterator.h.
Referenced by strided_range< Iterator >::begin(), and strided_range< Iterator >::end().
|
protected |
Definition at line 89 of file strided_iterator.h.
Referenced by strided_range< Iterator >::end().
|
protected |
Definition at line 90 of file strided_iterator.h.
Referenced by strided_range< Iterator >::begin(), and strided_range< Iterator >::end().