Should we check randomness of custom Random?
- Vorherrschende Sprache
- C#
- Sterne
- 0
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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).
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.