SIMLIB/C++
3.07
|
Random number generators - basic. More...
Go to the source code of this file.
Namespaces | |
simlib3 | |
Implementation of class CalendarList interface is static - using global functions in SQS namespace. | |
Typedefs | |
typedef long | simlib3::myint32 |
Functions | |
void | simlib3::RandomSeed (long seed) |
initialize random number seed More... | |
double | simlib3::Random () |
base uniform generator (range 0-0.999999...) the default implementation is simple LCG 32bit More... | |
void | simlib3::SetBaseRandomGenerator (double(*new_gen)()) |
set another random generator default Random() implementation can be replaced More... | |
double | simlib3::SIMLIB_RandomBase () |
Variables | |
const myint32 | simlib3::INICONST = 1537L |
const myint32 | simlib3::MULCONST = 1220703125L |
const myint32 | simlib3::MAXLONGINT = 0x7FFFFFFFUL |
const myint32 | simlib3::SIGNBIT = 0x80000000UL |
static myint32 | simlib3::SIMLIB_RandomSeed = INICONST |
static double(* | simlib3::SIMLIB_RandomBasePtr )() = SIMLIB_RandomBase |
Random number generators - basic.
Definition in file random1.cc.