sisi4s
Loading...
Searching...
No Matches
sisi4s::RandomGenerator Class Reference

#include <RandomGenerator.hpp>

Collaboration diagram for sisi4s::RandomGenerator:

Public Member Functions

 RandomGenerator (unsigned int seed=1, int shaking=32)
 
double nextUniform ()
 
unsigned int nextInteger ()
 
unsigned int nextCoarseInteger ()
 

Protected Attributes

unsigned int x
 
unsigned int y
 
unsigned int z
 
unsigned int n
 
unsigned int c
 

Constructor & Destructor Documentation

◆ RandomGenerator()

sisi4s::RandomGenerator::RandomGenerator ( unsigned int  seed = 1,
int  shaking = 32 
)
inline
Here is the call graph for this function:

Member Function Documentation

◆ nextCoarseInteger()

unsigned int sisi4s::RandomGenerator::nextCoarseInteger ( )
inline

Returns the next integer with 32 random bits where only the most significant bits show good randomness.

Here is the caller graph for this function:

◆ nextInteger()

unsigned int sisi4s::RandomGenerator::nextInteger ( )
inline

Returns the next integer with 32 random bits where all bits show good randomness.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nextUniform()

double sisi4s::RandomGenerator::nextUniform ( )
inline
Here is the call graph for this function:

Member Data Documentation

◆ c

unsigned int sisi4s::RandomGenerator::c
protected

◆ n

unsigned int sisi4s::RandomGenerator::n
protected

◆ x

unsigned int sisi4s::RandomGenerator::x
protected

◆ y

unsigned int sisi4s::RandomGenerator::y
protected

◆ z

unsigned int sisi4s::RandomGenerator::z
protected

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