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

#include <SeedRNG.h>

Collaboration diagram for hydra::SeedRNG:

Public Member Functions

__hydra_host__ __hydra_device__ SeedRNG (size_t state=1337)
 
__hydra_host__ __hydra_device__ SeedRNG (SeedRNG const &other)
 
__hydra_host__ __hydra_device__ size_t GetState () const
 
__hydra_host__ __hydra_device__ size_t operator() ()
 
__hydra_host__ __hydra_device__ SeedRNGoperator= (SeedRNG const &other)
 
__hydra_host__ __hydra_device__ void SetState (size_t state)
 

Detailed Description

Constructor & Destructor Documentation

◆ SeedRNG() [1/2]

__hydra_host__ __hydra_device__ hydra::SeedRNG::SeedRNG ( size_t  state = 1337)
inline

◆ SeedRNG() [2/2]

__hydra_host__ __hydra_device__ hydra::SeedRNG::SeedRNG ( SeedRNG const &  other)
inline

Member Function Documentation

◆ GetState()

__hydra_host__ __hydra_device__ size_t hydra::SeedRNG::GetState ( ) const
inline

◆ operator()()

__hydra_host__ __hydra_device__ size_t hydra::SeedRNG::operator() ( void  )
inline

◆ operator=()

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

◆ SetState()

__hydra_host__ __hydra_device__ void hydra::SeedRNG::SetState ( size_t  state)
inline

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