Fast random number generator (the algorithm proposed by Ian C. Bullard).
More...
#include <math_BullardGenerator.hxx>
Fast random number generator (the algorithm proposed by Ian C. Bullard).
◆ math_BullardGenerator()
math_BullardGenerator::math_BullardGenerator |
( |
unsigned int |
theSeed = 1 | ) |
|
|
inline |
Creates new Xorshift 64-bit RNG.
◆ NextInt()
unsigned int math_BullardGenerator::NextInt |
( |
| ) |
|
|
inline |
Generates new 64-bit integer value.
◆ NextReal()
Generates new floating-point value.
◆ SetSeed()
void math_BullardGenerator::SetSeed |
( |
unsigned int |
theSeed = 1 | ) |
|
|
inline |
Setup new seed / reset defaults.
The documentation for this class was generated from the following file: