Discrete Uniform probability distribution.
DiscreteUniform(g,i,j)
Generates a random variate following the Discrete Uniform probability distribution in the interval [i,j].
The pseudo-code algorithm used for this distribution is:
1. Generate u as U(0,1).
2. Return x = i + floor((j - i + 1)*u)
(u,g) := DiscreteUniform(g,2,4);
function DiscreteUniform extends Var; end DiscreteUniform;