ziggurat_test, a MATLAB code which calls ziggurat(), which rapidly generates random variates from the uniform, normal or exponential distributions.


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 MATLAB 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 18 January 2019.