![]() |
ImFusion SDK 4.3
|
Random number generation with convenience functions More...
Random number generation with convenience functions
Classes | |
| class | Generator |
| Convenience class for generating random numbers from various distributions. More... | |
| class | Pcg64Engine |
| Wrapper class for a 64-bit PCG engine. More... | |
Functions | |
| template<typename T> | |
| T | nextFloat (T n) |
Free functions | |
| Generator & | globalGenerator () |
| Returns a thread-safe default-seeded generator (singleton) | |
| template<typename T> | |
| T | nextReal (T n) |
| Returns the next number representable by T. | |
| template<typename T> | |
| T | previousReal (T n) |
| Returns the previous number representable by T. | |