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

#include <RandomUtils.h>

Collaboration diagram for hydra::detail::RndTrial< T, GRND, FUNCTOR, N >:

Public Member Functions

 RndTrial (size_t seed, const size_t jump, FUNCTOR const &functor, std::array< T, N >const &min, std::array< T, N >const &max)
 
__hydra_host__ __hydra_device__ RndTrial (RndTrial< T, GRND, FUNCTOR, N > const &other)
 
template<typename Tuple >
__hydra_host__ __hydra_device__operator() (size_t index, Tuple t)
 

Data Fields

FUNCTOR fFunctor
 
size_t fJump
 
fMax [N]
 
fMin [N]
 
size_t fSeed
 

Detailed Description

template<typename T, typename GRND, typename FUNCTOR, size_t N>
struct hydra::detail::RndTrial< T, GRND, FUNCTOR, N >

Constructor & Destructor Documentation

◆ RndTrial() [1/2]

template<typename T , typename GRND , typename FUNCTOR , size_t N>
hydra::detail::RndTrial< T, GRND, FUNCTOR, N >::RndTrial ( size_t  seed,
const size_t  jump,
FUNCTOR const &  functor,
std::array< T, N >const &  min,
std::array< T, N >const &  max 
)
inline

◆ RndTrial() [2/2]

template<typename T , typename GRND , typename FUNCTOR , size_t N>
__hydra_host__ __hydra_device__ hydra::detail::RndTrial< T, GRND, FUNCTOR, N >::RndTrial ( RndTrial< T, GRND, FUNCTOR, N > const &  other)
inline

Member Function Documentation

◆ operator()()

template<typename T , typename GRND , typename FUNCTOR , size_t N>
template<typename Tuple >
__hydra_host__ __hydra_device__ T hydra::detail::RndTrial< T, GRND, FUNCTOR, N >::operator() ( size_t  index,
Tuple  t 
)
inline

Field Documentation

◆ fFunctor

template<typename T , typename GRND , typename FUNCTOR , size_t N>
FUNCTOR hydra::detail::RndTrial< T, GRND, FUNCTOR, N >::fFunctor

◆ fJump

template<typename T , typename GRND , typename FUNCTOR , size_t N>
size_t hydra::detail::RndTrial< T, GRND, FUNCTOR, N >::fJump

◆ fMax

template<typename T , typename GRND , typename FUNCTOR , size_t N>
T hydra::detail::RndTrial< T, GRND, FUNCTOR, N >::fMax[N]

◆ fMin

template<typename T , typename GRND , typename FUNCTOR , size_t N>
T hydra::detail::RndTrial< T, GRND, FUNCTOR, N >::fMin[N]

◆ fSeed

template<typename T , typename GRND , typename FUNCTOR , size_t N>
size_t hydra::detail::RndTrial< T, GRND, FUNCTOR, N >::fSeed

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