Lower bound (inclusive)
Upper bound (inclusive), must be ≥ a
Lower bound
Upper bound
Support size (number of discrete values)
Cumulative distribution function (CDF).
Value to evaluate.
Probability that value ≤ x.
Expected value (mean)
Probability mass function (PMF).
Value to evaluate.
Probability of x.
Generate a random sample from the distribution
Variance
Class representing a discrete uniform distribution over integers [a, b]. Each integer in the range has equal probability.