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

#include <squares3.h>

Collaboration diagram for hydra::random::squares3:

Public Types

typedef uint64_t advance_type
 
typedef uint32_t result_type
 
typedef uint64_t seed_type
 
typedef uint64_t state_type
 

Public Member Functions

__hydra_host__ __hydra_device__ squares3 ()=delete
 
__hydra_host__ __hydra_device__ squares3 (seed_type s)
 
__hydra_host__ __hydra_device__ squares3 (squares3 const &other)
 
__hydra_host__ __hydra_device__ void discard (advance_type n)
 
__hydra_host__ __hydra_device__ seed_type GetSeed () const
 
__hydra_host__ __hydra_device__ state_type GetState () const
 
__hydra_host__ __hydra_device__ result_type operator() (void)
 
__hydra_host__ __hydra_device__ squares3operator= (squares3 const &other)
 
__hydra_host__ __hydra_device__ void SetSeed (seed_type seed)
 
__hydra_host__ __hydra_device__ void SetState (state_type state)
 

Static Public Member Functions

static uint64_t GenerateSeed (size_t i)
 

Static Public Attributes

static const uint32_t HYDRA_PREVENT_MACRO_SUBSTITUTION max = std::numeric_limits<result_type>::max()
 
static const uint32_t HYDRA_PREVENT_MACRO_SUBSTITUTION min = 0
 

Detailed Description

Member Typedef Documentation

◆ advance_type

◆ result_type

◆ seed_type

◆ state_type

Constructor & Destructor Documentation

◆ squares3() [1/3]

__hydra_host__ __hydra_device__ hydra::random::squares3::squares3 ( )
delete

◆ squares3() [2/3]

__hydra_host__ __hydra_device__ hydra::random::squares3::squares3 ( seed_type  s)
inline

◆ squares3() [3/3]

__hydra_host__ __hydra_device__ hydra::random::squares3::squares3 ( squares3 const &  other)
inline

Member Function Documentation

◆ discard()

__hydra_host__ __hydra_device__ void hydra::random::squares3::discard ( advance_type  n)
inline

◆ GenerateSeed()

static uint64_t hydra::random::squares3::GenerateSeed ( size_t  i)
inlinestatic

◆ GetSeed()

__hydra_host__ __hydra_device__ seed_type hydra::random::squares3::GetSeed ( ) const
inline

◆ GetState()

__hydra_host__ __hydra_device__ state_type hydra::random::squares3::GetState ( ) const
inline

◆ operator()()

__hydra_host__ __hydra_device__ result_type hydra::random::squares3::operator() ( void  )
inline

◆ operator=()

__hydra_host__ __hydra_device__ squares3& hydra::random::squares3::operator= ( squares3 const &  other)
inline

◆ SetSeed()

__hydra_host__ __hydra_device__ void hydra::random::squares3::SetSeed ( seed_type  seed)
inline

◆ SetState()

__hydra_host__ __hydra_device__ void hydra::random::squares3::SetState ( state_type  state)
inline

Field Documentation

◆ max

const uint32_t HYDRA_PREVENT_MACRO_SUBSTITUTION hydra::random::squares3::max = std::numeric_limits<result_type>::max()
static

◆ min

const uint32_t HYDRA_PREVENT_MACRO_SUBSTITUTION hydra::random::squares3::min = 0
static

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