An open API service indexing awesome lists of open source software.

https://github.com/baileywickham/mersenne-twister

Go translation of the CPython Mersenne Twister implimentation
https://github.com/baileywickham/mersenne-twister

golang mersenne-twister

Last synced: 5 months ago
JSON representation

Go translation of the CPython Mersenne Twister implimentation

Awesome Lists containing this project

README

          

# Mersenne Twister
This is a port of the python random library implimentation of the Mersenne Twister to golang. It is commented based on the origonal paper.

The Mersenne Twister is a method for generating pseudo random data based on an inital seed. The inital seed is usually generated from a physical source such as the temp of the CPU. This seed can be then used to generate more data.

## Links
[Original paper](http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/ARTICLES/mt.pdf)

[Python Source Code](https://github.com/python/cpython/blob/master/Modules/_randommodule.c#L75)