![]() |
Rosetta
2016.32
|
Random number generator system. More...
#include <numeric/random/random.fwd.hh>#include <numeric/random/uniform.fwd.hh>#include <utility/pointer/owning_ptr.hh>#include <utility/pointer/ReferenceCount.hh>#include <iostream>#include <utility/vector1.hh>Classes | |
| class | numeric::random::RandomGenerator |
| Random number generator system. More... | |
Namespaces | |
| numeric | |
| Unit headers. | |
| numeric::random | |
Typedefs | |
| typedef utility::pointer::shared_ptr < RandomGenerator > | numeric::random::RandomGeneratorOP |
Functions | |
| RandomGenerator & | numeric::random::rg () |
| Return the one-per-thread "singleton" random generator. More... | |
| double | numeric::random::uniform () |
| Generate a random number between 0 and 1. Threadsafe since each thread uses its own random generator. More... | |
| double | numeric::random::gaussian () |
| Generate a random number pulled from a standard normal – i.e. mean of zero and standard deviation of 1. Threadsafe since each thread uses its own random generator. More... | |
| int | numeric::random::random_range (int low, int high) |
| Return a number uniformly drawn from the inclusive range between low and high. Threadsafe since each thread uses its own random generator. More... | |
Random number generator system.
1.8.7