Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
hydra::random::EngineR123< Engine > Class Template Reference

#include <EngineR123.h>

Collaboration diagram for hydra::random::EngineR123< Engine >:

Public Types

typedef hydra::detail::random_traits< engine_type >::advance_type advance_type
 
typedef Engine engine_type
 
typedef hydra::detail::random_traits< engine_type >::init_type init_type
 
typedef hydra::detail::random_traits< engine_type >::result_type result_type
 
typedef hydra::detail::random_traits< engine_type >::seed_type seed_type
 
typedef hydra::detail::random_traits< engine_type >::state_type state_type
 

Public Member Functions

__hydra_host__ __hydra_device__ EngineR123 ()=delete
 
__hydra_host__ __hydra_device__ EngineR123 (result_type seed)
 
__hydra_host__ __hydra_device__ EngineR123 (init_type seed)
 
__hydra_host__ __hydra_device__ EngineR123 (EngineR123< Engine > const &other)
 
__hydra_host__ __hydra_device__ void discard (advance_type n)
 
__hydra_host__ __hydra_device__ const seed_typeGetSeed () const
 
__hydra_host__ __hydra_device__ const state_typeGetState () const
 
__hydra_host__ __hydra_device__ result_type operator() (void)
 
__hydra_host__ __hydra_device__ EngineR123< Engine > & operator= (EngineR123< Engine > const &other)
 
__hydra_host__ __hydra_device__ void SetSeed (seed_type seed)
 
__hydra_host__ __hydra_device__ void SetSeed (result_type seed)
 
__hydra_host__ __hydra_device__ void SetState (const state_type &state)
 

Static Public Attributes

static const unsigned arity = hydra::detail::random_traits<engine_type>::arity
 
static const result_type HYDRA_PREVENT_MACRO_SUBSTITUTION max = std::numeric_limits<result_type>::max()
 
static const result_type HYDRA_PREVENT_MACRO_SUBSTITUTION min = 0
 

Detailed Description

template<typename Engine>
class hydra::random::EngineR123< Engine >

Member Typedef Documentation

◆ advance_type

◆ engine_type

template<typename Engine >
typedef Engine hydra::random::EngineR123< Engine >::engine_type

◆ init_type

◆ result_type

◆ seed_type

◆ state_type

Constructor & Destructor Documentation

◆ EngineR123() [1/4]

template<typename Engine >
__hydra_host__ __hydra_device__ hydra::random::EngineR123< Engine >::EngineR123 ( )
delete

◆ EngineR123() [2/4]

template<typename Engine >
__hydra_host__ __hydra_device__ hydra::random::EngineR123< Engine >::EngineR123 ( result_type  seed)
inline

◆ EngineR123() [3/4]

template<typename Engine >
__hydra_host__ __hydra_device__ hydra::random::EngineR123< Engine >::EngineR123 ( init_type  seed)
inline

◆ EngineR123() [4/4]

template<typename Engine >
__hydra_host__ __hydra_device__ hydra::random::EngineR123< Engine >::EngineR123 ( EngineR123< Engine > const &  other)
inline

Member Function Documentation

◆ discard()

template<typename Engine >
__hydra_host__ __hydra_device__ void hydra::random::EngineR123< Engine >::discard ( advance_type  n)
inline

◆ GetSeed()

template<typename Engine >
__hydra_host__ __hydra_device__ const seed_type& hydra::random::EngineR123< Engine >::GetSeed ( ) const
inline

◆ GetState()

template<typename Engine >
__hydra_host__ __hydra_device__ const state_type& hydra::random::EngineR123< Engine >::GetState ( ) const
inline

◆ operator()()

template<typename Engine >
__hydra_host__ __hydra_device__ result_type hydra::random::EngineR123< Engine >::operator() ( void  )
inline

◆ operator=()

template<typename Engine >
__hydra_host__ __hydra_device__ EngineR123<Engine>& hydra::random::EngineR123< Engine >::operator= ( EngineR123< Engine > const &  other)
inline

◆ SetSeed() [1/2]

template<typename Engine >
__hydra_host__ __hydra_device__ void hydra::random::EngineR123< Engine >::SetSeed ( seed_type  seed)
inline

◆ SetSeed() [2/2]

template<typename Engine >
__hydra_host__ __hydra_device__ void hydra::random::EngineR123< Engine >::SetSeed ( result_type  seed)
inline

◆ SetState()

template<typename Engine >
__hydra_host__ __hydra_device__ void hydra::random::EngineR123< Engine >::SetState ( const state_type state)
inline

Field Documentation

◆ arity

template<typename Engine >
const unsigned hydra::random::EngineR123< Engine >::arity = hydra::detail::random_traits<engine_type>::arity
static

◆ max

template<typename Engine >
const result_type HYDRA_PREVENT_MACRO_SUBSTITUTION hydra::random::EngineR123< Engine >::max = std::numeric_limits<result_type>::max()
static

◆ min

template<typename Engine >
const result_type HYDRA_PREVENT_MACRO_SUBSTITUTION hydra::random::EngineR123< Engine >::min = 0
static

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