AlgorithmsNumerics & probabilityEdit on GitHubEdit history
Ziggurat Algorithm
ziggurat method1984
A rejection sampling method that precomputes a table of equal-area horizontal strips covering the region under a decreasing density, so most samples need only a table lookup and one comparison. It is widely used to generate normal and exponential variates.
Origin
George Marsaglia, Wai Wan Tsang (1984). A Fast, Easily Implemented Method for Sampling from Decreasing or Symmetric Unimodal Density Functions. SIAM Journal on Scientific and Statistical Computing 5(2).doi:10.1137/0905026 — checked against Crossref, 2026-11-08The simplified form in wide use today appeared in the same authors' 2000 Journal of Statistical Software paper 'The Ziggurat Method for Generating Random Variables'.
Lineage
Algorithms 1 · Relations 0
No derivations recorded yet.
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…