For each element of x, compute the probability density function (PDF) at x of a discrete uniform distribution which assumes the integer values 1–n with equal probability.
Warning: The underlying implementation uses the double class and will only
be accurate for n ≤ bitmax
(2^{53} - 1 on
IEEE-754 compatible systems).
Package: octave