Function for generating values from discrete uniform distributions
discrete (a:int, b:int) : int
a<=b. Returns a drawing from a discrete uniform
Discrete exception, if
Probability mass functions for discrete uniform distributions:
Throwing a die has a discrete uniform distribution with parameters
b=6. The function discrete will then return the number of eyes on the die.
You must be logged in to post a comment.