#include <random>Functions | |
| double | GetNormallyDistributedNumberFromGlobalGenerator () |
| double | GetNormallyDistributedNumberPerSlotGenerator (unsigned int slot) |
| double | GetNormallyDistributedNumberPerSlotGeneratorForEntry (unsigned int slot, unsigned long long entry) |
| std::normal_distribution< double > | globalGaus (0., 1.) |
| std::mt19937 | globalGenerator (globalRandomDevice()) |
| void | ReinitializeGenerators (unsigned int nSlots) |
Variables | |
| std::vector< std::normal_distribution< double > > | gaussians |
| std::vector< std::mt19937 > | generators |
| std::random_device | globalRandomDevice {} |
| double GetNormallyDistributedNumberFromGlobalGenerator | ( | ) |
Definition at line 12 of file df042_ThreadSafeRNG.hxx.
Definition at line 32 of file df042_ThreadSafeRNG.hxx.
| double GetNormallyDistributedNumberPerSlotGeneratorForEntry | ( | unsigned int | slot, |
| unsigned long long | entry ) |
Definition at line 37 of file df042_ThreadSafeRNG.hxx.
|
inline |
|
inline |
| void ReinitializeGenerators | ( | unsigned int | nSlots | ) |
Definition at line 23 of file df042_ThreadSafeRNG.hxx.
|
inline |
Definition at line 21 of file df042_ThreadSafeRNG.hxx.
|
inline |
Definition at line 20 of file df042_ThreadSafeRNG.hxx.
|
inline |
Definition at line 8 of file df042_ThreadSafeRNG.hxx.