summaryrefslogtreecommitdiffstats
path: root/Lib/random.py
Commit message (Collapse)AuthorAgeFilesLines
* Correction to vonmisesvariate() by Magnus Kessler: it should take andGuido van Rossum1998-04-061-5/+12
| | | | | return something between 0 and 2*pi. Also added a reference to the literature.
* Fixed a bug in the gauss() function. The bug was reported by MikeGuido van Rossum1998-02-191-5/+6
| | | | | | | | Miller, who complained that its kurtosis was bad, and then fixed by Lambert Meertens (author of the original algorithm) who discovered that the mathematical analysis leading to his solution was wrong, and provided a corrected version. Mike then tested the fix and reported that the kurtosis was now good.
* # Typos in the comments giving the names of two recently added distributions.Guido van Rossum1997-12-091-2/+2
|
* Added Pareto and Weibull distributions, courtesy Jeremy Hylton.Guido van Rossum1997-12-021-0/+18
|
* Changes to use default argument values where possibleGuido van Rossum1994-05-061-5/+1
|
* Use float constants directly; cosmetic changes; initialize largestGuido van Rossum1994-03-151-22/+33
| | | | correctly; allow test(N) to set number of calls in the tests.
* Added gauss() (same as normal but twice as fast) and betavariate();Guido van Rossum1994-03-091-6/+47
| | | | print more statistics in test_generator()
* Random variable generatorsGuido van Rossum1994-03-091-0/+212