stdlib-js / stdlib-js/stdlib

RFC: add support for generating pseudorandom numbers using XORSHIFT-ADD

Đang mở
#199 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
difficulty: 5 Feature Math RFC
Ngôn ngữ chính
JavaScript
Star
6k
Fork
1.3k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
611

Mô tả

## 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 adding supporting for generating pseudorandom numbers using the [XORSHIFT-ADD algorithm](https://github.com/MersenneTwister-Lab/XSadd).

Package: `@stdlib/random/base/xorshift-add`
Alias: `xorshiftadd`

## Related Issues

> Does this feature request have any related issues?

No.

## Questions

> Any questions for reviewers?

Some background research may be necessary to determine whether XORSHIFT-ADD has any problems, such as correlated random variates or other design flaws.

## 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/XSadd)
- [Homepage](http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/XSADD/)
- [Comparison to other XORSHIFT variants](http://vigna.di.unimi.it/ftp/papers/xorshiftplus.pdf)

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.