summaryrefslogtreecommitdiff
path: root/numpy/random/mtrand/distributions.c
Commit message (Collapse)AuthorAgeFilesLines
* Correct reference to Johnk's algorithmJohn Bjorn Nelson2015-12-151-1/+1
|
* MAINT: random: allow nonc==0 in noncentral_chisquare.Evgeni Burovski2015-11-021-0/+3
| | | | | Noncentral chi-square reduces to a central chi-square, so just defer to that.
* BUG: np.random.beta with small parameters produces NaNsJaime Fernandez2015-05-101-1/+14
| | | | Fixes #5851
* BUG: Fixes random.noncentral_chisquare when 0 < df <= 1behzad nouri2015-04-271-5/+11
| | | | Closes #5766.
* MANT: Use labs, not fabs, for integer abs in distributions.cJaime Fernandez2015-04-231-1/+2
|
* BUG: Fix potential overflows in rk_hypergeometric_hrua()Anton Ovchinnikov2015-03-031-2/+2
|
* BUG: avoid infinite loop for small kappa in vonmisesJulian Taylor2014-05-281-4/+14
| | | | | | | rho results in 0. for kappa < 1.4e-8 whch leads to nans appearing and an infinite loop. the second order taylor expansion is more precise up to at least 1e-5. Closes gh-4720
* BUG: mtrand binomial algorithm is different from original paper algorithmJosh Lawrence2014-05-081-7/+4
|
* BUG: fix incorrect type in binomial ditsributions.cSebastian Berg2013-12-041-1/+1
| | | | | | | This caused slowness and wrong/potentially wrong results when the binomial result is larger then a native C int. Closes gh-3352
* MAINT: make loggam static in random kitLars Buitinck2013-09-081-3/+4
|
* STY: Giant whitespace cleanup.Charles Harris2013-08-181-41/+41
| | | | Now is as good a time as any with open PR's at a low.
* BUG: fix random.test_noncentral_f issue under win64 + MSVC9. Closes #1801.Ralf Gommers2011-04-221-2/+2
| | | | Thanks to Christoph Gohlke for the patch.
* Hard tab removal.Charles Harris2009-10-201-2/+2
| | | | | Trailing whitespace removal. Some coding style cleanups.
* Fix tickets #921 and #923. Add regression tests.Charles Harris2009-03-141-2/+2
|
* Applied Anand's patch fixing Ticket #986 regarding the domain of the Von ↵dhuard2009-03-091-3/+11
| | | | Mises random variable generator. Regression test added.
* BUG: Logarithmic series needs to exclude p==0 and p==1. When the conversion ↵Robert Kern2008-08-241-8/+23
| | | | of the result to C longs gives a negative number (i.e. out of bounds), reject the sample and try again until we do get something in bounds.
* BUG: Allow floating point argument n to negative binomial distribution.Robert Kern2008-08-231-1/+1
|
* BUG: F distributions need the appropriate scale factor.Robert Kern2008-08-121-1/+2
|
* BUG: Make sure the Zipf results are within the allowable range.Robert Kern2008-07-091-7/+14
|
* Use a correct upper bound for the inversion search in binomial distributions.Robert Kern2007-12-061-1/+1
|
* BUG: fix incorrect ordering of the 'good' and 'bad' objects in the ↵Robert Kern2007-12-031-2/+2
| | | | hypergeometric distribution.
* Fix Von Mises random number generation algorithm to match that of Python and R.Travis Oliphant2007-09-091-14/+15
|
* Fix random.poisson(0) to return 0 (#229)Travis Oliphant2006-09-131-1/+5
|
* Fix #90.Robert Kern2006-05-011-1/+1
|
* Fixes to help compilation on Windows with MSVCTravis Oliphant2006-02-091-0/+3
|
* Moved scipy directory to numpyTravis Oliphant2006-01-041-0/+845