MCBooster  1.0.1
Tool to generate MC phase space samples in parallel.
strided_range< Iterator >::stride_functor Struct Reference

#include <strided_iterator.h>

+ Inheritance diagram for strided_range< Iterator >::stride_functor:
+ Collaboration diagram for strided_range< Iterator >::stride_functor:

Public Member Functions

 stride_functor (difference_type stride)
 
__host__ __device__ difference_type operator() (const difference_type &i) const
 

Public Attributes

difference_type stride
 

Detailed Description

template<typename Iterator>
struct strided_range< Iterator >::stride_functor

Definition at line 46 of file strided_iterator.h.

Constructor & Destructor Documentation

template<typename Iterator>
strided_range< Iterator >::stride_functor::stride_functor ( difference_type  stride)
inline

Definition at line 51 of file strided_iterator.h.

Member Function Documentation

template<typename Iterator>
__host__ __device__ difference_type strided_range< Iterator >::stride_functor::operator() ( const difference_type i) const
inline

Definition at line 56 of file strided_iterator.h.

Member Data Documentation

template<typename Iterator>
difference_type strided_range< Iterator >::stride_functor::stride

Definition at line 49 of file strided_iterator.h.


The documentation for this struct was generated from the following file: