DiscreteUniformDistribution
The discrete uniform distribution on the integers .
DiscreteUniformDistribution({min, max})an inert distribution object — Wolfram's own call shape, a single two-element list.Typed signatures
| Type | Package | Applies |
|---|---|---|
(list<integer>) -> distribution | statistics | always |
Details
- — no bounds check outside (a documented divergence).
- , clamped to below and above .
- , , both exact.
- RandomVariate draws .
Examples
About
| Examples | 5 |
|---|---|
| Checked against | Wolfram Language 1 agree |
See also: UniformDistribution, PDF, CDF