Anonymous user
Verify distribution uniformity/Naive: Difference between revisions
Verify distribution uniformity/Naive (view source)
Revision as of 15:58, 28 August 2009
, 14 years agoAllowing a generator object as well as a generator function so languages without first-class functions aren't omitted
m (CL cleanup) |
(Allowing a generator object as well as a generator function so languages without first-class functions aren't omitted) |
||
Line 5:
The function should take as arguments:
* The function (or object) producing random integers.
* The number of times to call the integer generator.
* A 'delta' value of some sort that indicates how close to a flat distribution is close enough.
|