Routines for sampling from discrete probability distributions1
Currently supporting:
Other references:
- Visualizing Warping Strategies for Sampling Environment Map Lights, Matt Pharr's blog
Your choice of MIT or BSD0.
Footnotes
-
Technically, step functions rather than arbitrary discrete distributions ↩