ziggurat_test, a MATLAB program which calls ziggurat() to rapidly generate 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 MATLAB library 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.