首页 正文

A modified ziggurat algorithm for generating exponentially- and normally-distributed pseudorandom numbers

{{output}}
The Ziggurat Algorithm is a very fast rejection sampling method for generating PseudoRandom Numbers (PRNs) from statistical distributions. In the algorithm, rectangular sampling domains are layered on top of each other (resembling a ziggurat) to encapsulate th... ...