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

#include <RandomUtils.h>

Collaboration diagram for hydra::detail::RndCDF< GRND, FUNCTOR >:

Public Member Functions

 RndCDF (FUNCTOR const &functor, size_t seed)
 
__hydra_host__ __hydra_device__ RndCDF (RndCDF< GRND, FUNCTOR > const &other)
 
__hydra_host__ __hydra_device__ GReal_t operator() (size_t index)
 

Data Fields

FUNCTOR fFunctor
 
size_t fSeed
 

Detailed Description

template<typename GRND, typename FUNCTOR>
struct hydra::detail::RndCDF< GRND, FUNCTOR >

Constructor & Destructor Documentation

◆ RndCDF() [1/2]

template<typename GRND , typename FUNCTOR >
hydra::detail::RndCDF< GRND, FUNCTOR >::RndCDF ( FUNCTOR const &  functor,
size_t  seed 
)
inline

◆ RndCDF() [2/2]

template<typename GRND , typename FUNCTOR >
__hydra_host__ __hydra_device__ hydra::detail::RndCDF< GRND, FUNCTOR >::RndCDF ( RndCDF< GRND, FUNCTOR > const &  other)
inline

Member Function Documentation

◆ operator()()

template<typename GRND , typename FUNCTOR >
__hydra_host__ __hydra_device__ GReal_t hydra::detail::RndCDF< GRND, FUNCTOR >::operator() ( size_t  index)
inline

Field Documentation

◆ fFunctor

template<typename GRND , typename FUNCTOR >
FUNCTOR hydra::detail::RndCDF< GRND, FUNCTOR >::fFunctor

◆ fSeed

template<typename GRND , typename FUNCTOR >
size_t hydra::detail::RndCDF< GRND, FUNCTOR >::fSeed

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