SST/macro
|
A base class for random number generators using a table of 256 32-bit integers. More...
#include <rng.h>
Public Member Functions | |
~Table256 () | |
void | vec_reseed (const std::vector< rngint_t > &seeds) |
int | nseed () |
Public Member Functions inherited from RNG::UniformInteger | |
virtual | ~UniformInteger () |
virtual rngint_t | value ()=0 |
rngint_t | value_in_range (rngint_t range) |
virtual double | realvalue (bool include_zero=true, bool include_one=true) |
Return a random value in the interval [0,1], (0,1], [0,1), or (0,1) More... | |
void | reseed () |
void | reseed (rngint_t) |
void | reseed (rngint_t, rngint_t) |
void | reseed (rngint_t, rngint_t, rngint_t) |
void | reseed (rngint_t, rngint_t, rngint_t, rngint_t) |
Protected Member Functions | |
Table256 () | |
Protected Attributes | |
UniformInteger * | seeder_ |
rngint_t | t [256] |
unsigned char | c |
A base class for random number generators using a table of 256 32-bit integers.
RNG::Table256::~Table256 | ( | ) |
|
protected |
|
virtual |
Implements RNG::UniformInteger.
Reimplemented in RNG::SWB, and RNG::LFIB4.
|
virtual |
Implements RNG::UniformInteger.
Reimplemented in RNG::SWB, and RNG::LFIB4.
|
protected |