stdlib-js / stdlib-js/stdlib

RFC: add support for generating pseudorandom numbers using TinyMT32

Aperta
#200 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
difficulty: 3 Feature Help Wanted Math RFC
Lingua principale
JavaScript
Stelle
6k
Fork
1.3k
Merge medio
1g 3h
PR unite (30g)
611

Descrizione

## Checklist

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

- [x] Read and understood the [Code of Conduct][code-of-conduct].
- [x] Searched for existing issues and pull requests.
- [x] The issue name begins with `RFC:`.

## 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.

- [C implementation](https://github.com/MersenneTwister-Lab/TinyMT/blob/master/tinymt/tinymt32.c)
- [Homepage](http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/TINYMT/)
- [Mersenne Twister](https://en.wikipedia.org/wiki/Mersenne_Twister)

[code-of-conduct]: https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.