Namespace GoRogue.Random
Classes
DiscreteConverter<T>
Wraps a continuous distribution and allows it to be used as discrete, by rounding double values produced by NextDouble() to the nearest int. Its minimum, maximum, mean, median, variance, and mode(s) are exactly the same as its underlying Troschuetz.Random.IContinuousDistribution.
DistributionHelpers
Defines functions that assist in dealing with RNG distributions.
KnownSeriesGenerator
"Random number generator" that takes in a series of values, and simply returns them sequentially when RNG functions are called.
MaxRandom
A "random" number generator that always returns the maxValue parameter given. Again this may be useful in testing, testing the upper range or repeatedly returning a value. Also used in DiceExpression instances for certain max roll functions.
MinRandom
A "random" number generator that always returns the minValue parameter given, or 0 on the Next overload that only takes maxValue. Again, may be useful for testing. Also used in DiceExpression for certain minimum roll functions.
SingletonRandom
Static class that contains 1 variable, which is a an RNG instance that is used as the default rng by other features (dice, etc) wherever needed, and can also be used if you need a random number generator for your own code.