aloisdg / aloisdg/RandomUtils

Should we check randomness of custom Random?

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello,

It could be nice to check the Randomness of modified function. I am looking at you `NextFloat()` and `NextLong()`. I may to be sure that our modification keep an uniform distribution.

To check this we can implement a Test case with Chi-Square.

See :
- [Verify distribution uniformity/Chi-squared test - Rosetta Code](http://rosettacode.org/wiki/Verify_distribution_uniformity/Chi-squared_test#C)

Gamma :
- [Gamma function - Rosetta Code](http://rosettacode.org/wiki/Gamma_function#Java)
- [Special Function(s) for C# - CodeProject](http://www.codeproject.com/Articles/11647/Special-Function-s-for-C)

I started my own [implementation](https://gist.github.com/aloisdg/9a94b070d0caa5a32d80).

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đá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.