Open CASCADE Technology 7.8.0
|
Fast random number generator (the algorithm proposed by Ian C. Bullard). More...
#include <math_BullardGenerator.hxx>
Public Member Functions | |
math_BullardGenerator (unsigned int theSeed=1) | |
Creates new Xorshift 64-bit RNG. | |
void | SetSeed (unsigned int theSeed=1) |
Setup new seed / reset defaults. | |
unsigned int | NextInt () |
Generates new 64-bit integer value. | |
Standard_Real | NextReal () |
Generates new floating-point value. | |
Fast random number generator (the algorithm proposed by Ian C. Bullard).
Creates new Xorshift 64-bit RNG.
|
inline |
Generates new floating-point value.
Setup new seed / reset defaults.