file
Random.hUtility functions related to randomization.
Namespaces
- namespace slang
- Root namespace.
Functions
-
template<typename TGenerator, typename TValue>static auto getUniformIntDist(TGenerator& gen, TValue min, TValue max) -> TValue
- Gets a (mostly) uniformly distributed value within the provided [min,max] range.
-
template<typename T>static auto createRandomGenerator() -> T
- Create a randomly seeded random number generator.