#include <random.h>
Inheritance diagram for MODEL::Uniform:
Public Methods | |
Uniform (counter inital_seed=0) | |
virtual number& | generate (number &storage) |
const counter& | seed_update (void) |
Private Attributes | |
counter | tabel [tabelsize] |
counter | lastseed |
Static Private Attributes | |
const counter | IA = 16807 |
const counter | IM = 2147483647 |
const number | AM = 1.0/IM |
const counter | IQ = 127773 |
const counter | IR = 2836 |
const counter | tabelsize = 32 |
const counter | NDIV = 1+(IM-1)/tabelsize |
const number | RNMX = 1.0-EPS |
Definition at line 56 of file random.h.
|
overload this one to define random number Reimplemented from MODEL::Random. Definition at line 40 of file random.cpp. |
More Info? Michael Peeters. Also, check our research website: www.alna.vub.ac.be
Last update: June 2002.