Givaro
Public Types | Public Member Functions
GivRandom Class Reference

GivRandom. More...

#include <givrandom.h>

Public Types

typedef GivRandom random_generator
 
typedef uint64_t random_t
 
typedef uint64_t seed_t
 

Public Member Functions

 GivRandom (const uint64_t s=0)
 
 GivRandom (const GivRandom &R)
 
GivRandomoperator= (const GivRandom &R)
 
uint64_t seed () const
 
uint64_t max_rand () const
 
uint64_t operator() () const
 
bool brand () const
 
template<class XXX >
XXX & operator() (XXX &x) const
 

Detailed Description

GivRandom.

Member Typedef Documentation

◆ random_generator

◆ random_t

typedef uint64_t random_t

◆ seed_t

typedef uint64_t seed_t

Constructor & Destructor Documentation

◆ GivRandom() [1/2]

GivRandom ( const uint64_t  s = 0)
inline

◆ GivRandom() [2/2]

GivRandom ( const GivRandom R)
inline

Member Function Documentation

◆ operator=()

GivRandom& operator= ( const GivRandom R)
inline

◆ seed()

uint64_t seed ( ) const
inline

◆ max_rand()

uint64_t max_rand ( ) const
inline

◆ operator()() [1/2]

uint64_t operator() ( ) const
inline

◆ brand()

bool brand ( ) const
inline

◆ operator()() [2/2]

XXX& operator() ( XXX &  x) const
inline

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