Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in support for Mersenne Prime Twister PRNG #22

Closed
wasade opened this issue Jan 21, 2014 · 2 comments
Closed

Add in support for Mersenne Prime Twister PRNG #22

wasade opened this issue Jan 21, 2014 · 2 comments

Comments

@wasade
Copy link

wasade commented Jan 21, 2014

The current random number generator used is a linear congruential generator and is not a high quality random number generator. A brief discussion on random number generators can be found here with references to additional sources. If possible, it would be fantastic if seqtk relied on the Mersenne Twister, the source of which can be found here or alternatively, the algorithm can be used from the GNU Scientific Library.

@lh3
Copy link
Owner

lh3 commented Jan 27, 2014

I have wrapped MT-64 a while ago. I now put it in seqtk. Please try and let me if you have problems. I have not tested it myself.

@lh3 lh3 closed this as completed Jan 27, 2014
@wasade
Copy link
Author

wasade commented Jan 28, 2014

Awesome, thanks! Was it not needed to update this call as well? Wasn't sure if that was intentional or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants