UNPKG

node-ziggurat

Version:

An implementation of the Ziggurat algorithm for generating Normally-distributed numbers.

7 lines (4 loc) 273 B
node-ziggurat ========== A javascript implementation of the Ziggurat algorithm for generating Normally-distributed numbers. Code from [http://www.filosophy.org](http://www.filosophy.org/post/35/normaldistributed_random_values_in_javascript_using_the_ziggurat_algorithm/)