Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
hydra::detail::RndFlag< T, Iterator, GRND > Struct Template Reference

#include <RandomUtils.h>

Collaboration diagram for hydra::detail::RndFlag< T, Iterator, GRND >:

Public Member Functions

 RndFlag (const size_t seed, const size_t jump, const T max_value, Iterator values)
 
__hydra_host__ __hydra_device__ RndFlag (RndFlag< T, Iterator, GRND > const &other)
 
__hydra_host__ __hydra_device__ GBool_t operator() (size_t index)
 

Data Fields

size_t fJump
 
size_t fSeed
 
fValMax
 
Iterator fVals
 

Detailed Description

template<typename T, typename Iterator, typename GRND>
struct hydra::detail::RndFlag< T, Iterator, GRND >

Constructor & Destructor Documentation

◆ RndFlag() [1/2]

template<typename T , typename Iterator , typename GRND >
hydra::detail::RndFlag< T, Iterator, GRND >::RndFlag ( const size_t  seed,
const size_t  jump,
const T  max_value,
Iterator  values 
)
inline

◆ RndFlag() [2/2]

template<typename T , typename Iterator , typename GRND >
__hydra_host__ __hydra_device__ hydra::detail::RndFlag< T, Iterator, GRND >::RndFlag ( RndFlag< T, Iterator, GRND > const &  other)
inline

Member Function Documentation

◆ operator()()

template<typename T , typename Iterator , typename GRND >
__hydra_host__ __hydra_device__ GBool_t hydra::detail::RndFlag< T, Iterator, GRND >::operator() ( size_t  index)
inline

Field Documentation

◆ fJump

template<typename T , typename Iterator , typename GRND >
size_t hydra::detail::RndFlag< T, Iterator, GRND >::fJump

◆ fSeed

template<typename T , typename Iterator , typename GRND >
size_t hydra::detail::RndFlag< T, Iterator, GRND >::fSeed

◆ fValMax

template<typename T , typename Iterator , typename GRND >
T hydra::detail::RndFlag< T, Iterator, GRND >::fValMax

◆ fVals

template<typename T , typename Iterator , typename GRND >
Iterator hydra::detail::RndFlag< T, Iterator, GRND >::fVals

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