stdlib-js / stdlib

✨ Standard library for JavaScript and Node.js. ✨
https://stdlib.io
Apache License 2.0
4.42k stars 464 forks source link

RFC: add support for generating pseudorandom numbers using TinyMT32 #200

Open kgryte opened 6 years ago

kgryte commented 6 years ago

Checklist

Please ensure the following tasks are completed before submitting a feature request.

Description

Description of the feature request.

This RFC proposes to add support for the Tiny Mersenne Twister algorithm for generating pseudorandom numbers (32-bit). Should be similar in its API to @stdlib/random/base/minstd.

Package: @stdlib/random/base/tinymt32 Alias: tinymt32

Related Issues

Does this feature request have any related issues?

No.

Questions

Any questions for reviewers?

No.

Other

Any other information relevant to this feature request? This may include screenshots, references, sample output, and/or implementation notes.

kgryte commented 10 months ago

Additionally, @stdlib/random/base/mt19937 is another good reference package.