ziggurat_test, a C++ code which calls ziggurat(), which generates random variates from the uniform, normal or exponential distributions, by Marsaglia and Tsang.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

ziggurat, a C++ code which implements uniform, normal and exponential random number generators (RNG's) using the ziggurat method, by Marsaglia and Tsang.

Source Code:

Last revised on 05 April 2020.