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

#include <squares4.h>

Collaboration diagram for hydra::random::squares4:

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__ squares4 ()=delete
 
__hydra_host__ __hydra_device__ squares4 (seed_type s)
 
__hydra_host__ __hydra_device__ squares4 (squares4 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__ squares4operator= (squares4 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

◆ squares4() [1/3]

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

◆ squares4() [2/3]

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

◆ squares4() [3/3]

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

Member Function Documentation

◆ discard()

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

◆ GenerateSeed()

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

◆ GetSeed()

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

◆ GetState()

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

◆ operator()()

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

◆ operator=()

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

◆ SetSeed()

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

◆ SetState()

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

Field Documentation

◆ max

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

◆ min

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

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