Public Member Functions | |
uniformGeneratorOp (const label seed=Random::defaultSeed) | |
Default construct or with seed value. Uses default [0,1] interval. More... | |
uniformGeneratorOp (const T &minval, const T &maxval) | |
Construct with specified interval, using default seed. More... | |
uniformGeneratorOp (const label seed, const T &minval, const T &maxval) | |
Construct with seed value and specified interval. More... | |
T | operator() () |
Generate a random number. More... | |
template<class U > | |
T | operator() (const U &) const |
A generator class returning a uniformly distributed random number on the given interval.
|
inlineexplicit |
|
inline |
|
inline |