Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | DEP: Deprecate random_integers | gfyoung | 2016-01-10 | 2 | -0/+28 | |
| | | ||||||
| * | DOC: high arg is mandatory for mtrand._rand_int32 | ldoddema | 2016-01-04 | 1 | -7/+3 | |
| | | ||||||
| * | MAINT: Fix notation in mtrand.pyx documentation. | ldoddema | 2016-01-04 | 1 | -2/+2 | |
| | | ||||||
| * | MAINT: Fix typos in 1.11.0-notes.rst and mtrand.pyx documentation. | Charles Harris | 2016-01-03 | 1 | -1/+1 | |
| | | ||||||
| * | Merge pull request #6910 from charris/add-64-bit-random-int | Charles Harris | 2016-01-03 | 6 | -45/+771 | |
| |\ | | | | | | | ENH: Add dtype argument to random.randint. | |||||
| | * | TST: Add tests for new randint functionality. | Charles Harris | 2016-01-02 | 1 | -0/+77 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * check exceptions * check extreme bounds are reachable * check that all values are in the specified bounds * check repeatability of sequences More exact statistical tests would be nice, but that is another project. | |||||
| | * | ENH: Add dtype argument to random.randint. | Charles Harris | 2016-01-02 | 5 | -45/+694 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Random ndarrays of the following types can now be generated: * np.bool, * np.int8, np.uint8, * np.int16, np.uint16, * np.int32, np.uint32, * np.int64, np.uint64, * np.int_ (long), np.intp The specification is by precision rather than by C type. Hence, on some platforms np.int64 may be a `long` instead of `long long` even if the specified dtype is `long long` because the two may have the same precision. The resulting type depends on which c type numpy uses for the given precision. The byteorder specification is also ignored, the generated arrays are always in native byte order. The dtype of the result could be made more explicit if desired without changing the user visible results. | |||||
| * | | Merge pull request #6901 from njsmith/test-warning-defaults | Ralf Gommers | 2015-12-30 | 1 | -3/+3 | |
| |\ \ | | | | | | | | | [FIX] fix NoseTester's raise_warning default | |||||
| | * | | [TST] Refactor new raise_warnings logic for subpackage test suites | Nathaniel J. Smith | 2015-12-30 | 1 | -3/+3 | |
| | |/ | ||||||
| * | | MAINT: Cleaned up unused variables and spelling mistakes in np.random modules | gfyoung | 2015-12-29 | 2 | -6/+1 | |
| |/ | ||||||
| * | ENH: Allow random_integers to include the maximum np.iinfo('l').max | gfyoung | 2015-12-28 | 2 | -31/+46 | |
| | | | | | | | | | | | | | | Redistributes the code between the randint and random_integers methods so that we can generate integers up to and including np.iinfo('l').max with random_integers, which previously would have caused an OverflowError. | |||||
| * | DOC: Update example in np.random.multinomial. | Charles Harris | 2015-12-18 | 1 | -10/+11 | |
| | | | | | | | | | | | | Clarify that probabilities should be normalized. [ci skip] | |||||
| * | DOC: typo in the docstring of random.multinomial | Evgeni Burovski | 2015-12-18 | 1 | -2/+15 | |
| | | | | | | | | | | | | | | | | Discuss a loaded dice with six sides. Also add the text about handling of input probabilities, as written by Robert Kern in gh-6612. [ci skip] | |||||
| * | MAINT: minor spelling and grammar corrections | gfyoung | 2015-12-16 | 1 | -3/+3 | |
| | | ||||||
| * | Correct reference to Johnk's algorithm | John Bjorn Nelson | 2015-12-15 | 1 | -1/+1 | |
| | | ||||||
| * | Made changes in numpy/numpy/random/mtrand/matrand.pyx | gopalmeena | 2015-12-15 | 1 | -1/+1 | |
| | | ||||||
| * | BUG: Fix for #6719 | Gerrit Holl | 2015-11-25 | 1 | -1/+2 | |
| | | | | | | | | | | | | numpy/random/mtrand/mtrand.pyx contains a line where cython fails to compile, complaining “Pythonic division not allowed without gil”. By running this code segment under cdivision(True), this problem is avoided. | |||||
| * | Merge pull request #6614 from charris/update-random-all | Charles Harris | 2015-11-02 | 1 | -0/+4 | |
| |\ | | | | | | | BUG: Add choice and dirichlet to numpy.random.__all__. | |||||
| | * | BUG: Add choice and dirichlet to numpy.random.__all__. | Charles Harris | 2015-11-02 | 1 | -0/+4 | |
| | | | | | | | | | | | | Closes #6602. | |||||
| * | | MAINT: random: allow nonc==0 in noncentral_chisquare. | Evgeni Burovski | 2015-11-02 | 3 | -4/+14 | |
| |/ | | | | | | | | | Noncentral chi-square reduces to a central chi-square, so just defer to that. | |||||
| * | DOC: fixing beta calculation for numpy.random,gumbel | jason king | 2015-10-07 | 1 | -1/+1 | |
| | | ||||||
| * | DOC: Update RandomState guarantee to be more explicit. | Charles Harris | 2015-10-05 | 1 | -5/+8 | |
| | | ||||||
| * | DOC: Add RandomState stability guarantee to RandomState documentation. | mtran | 2015-10-04 | 1 | -0/+6 | |
| | | ||||||
| * | DOC: Fix typo in Triangular Distribution PDF | MaPePeR | 2015-09-08 | 1 | -1/+1 | |
| | | ||||||
| * | MAINT: Remove bento related files. | Charles Harris | 2015-08-29 | 2 | -47/+0 | |
| | | | | | | | | | | Numpy will no longer support the bento build system, so remove the associated files. | |||||
| * | BLD: try_run fails on Python 3.5b4 for Windows | Christoph Gohlke | 2015-08-01 | 1 | -14/+1 | |
| | | ||||||
| * | TST: fix OverflowError on win-amd64 | Christoph Gohlke | 2015-08-01 | 1 | -1/+1 | |
| | | ||||||
| * | MAINT: adjust tolerance for validating the sum of probs in random.choice | alex | 2015-07-29 | 2 | -2/+20 | |
| | | ||||||
| * | DOC: Fix docstring warnings in documetation generation. | Charles Harris | 2015-07-01 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Most of these fixes involve putting blank lines around .. versionadded:: x.x.x and .. deprecated:: x.x.x Some of the examples were also fixed. | |||||
* | | TST: test multivariate_normal check_valid kw | Blake Griffith | 2015-05-19 | 1 | -12/+28 | |
| | | | | | | | | Test that warnings are or are not raised when check_valid kwarg is used. | |||||
* | | BUG, API: Allow covariance matrix with small fp errors. | Blake Griffith | 2015-05-19 | 1 | -9/+21 | |
|/ | | | | | | In np.random.multivariate_normal allow the covariance matrix to have small floating point errors. And allow control over what to do if the PSD check fails. | |||||
* | BUG: np.random.beta with small parameters produces NaNs | Jaime Fernandez | 2015-05-10 | 2 | -1/+22 | |
| | | | | Fixes #5851 | |||||
* | DOC: improve the vonmises docstring example | alex | 2015-04-29 | 1 | -5/+5 | |
| | ||||||
* | BUG: Fixes random.noncentral_chisquare when 0 < df <= 1 | behzad nouri | 2015-04-27 | 3 | -8/+21 | |
| | | | | Closes #5766. | |||||
* | MANT: Use labs, not fabs, for integer abs in distributions.c | Jaime Fernandez | 2015-04-23 | 1 | -1/+2 | |
| | ||||||
* | DOC: Some cleanups of mtrand.pyx docstrings. | Charles Harris | 2015-03-28 | 1 | -14/+8 | |
| | | | | | | | | - Spelling fixes - Remove blank lines between references, and - Some style fixes in examples. [skip ci] | |||||
* | DOC: Minor edits to docstrings to improve consistency in the module | George Castillo | 2015-03-28 | 1 | -106/+128 | |
| | | | | | Fixed a number of references that were malformatted and broken links. Module still needs work, particularly in standardizing return values. | |||||
* | DOC: Incremental improvement in random module docstrings | George Castillo | 2015-03-28 | 1 | -123/+146 | |
| | | | | | | Fixed some broken links, references, and missing values. Also reverted some earlier edits to return value descriptions to make them less confusing. | |||||
* | DOC: Covariance matrix should be symmetric | Blake Griffith | 2015-03-26 | 1 | -1/+1 | |
| | ||||||
* | BUG: Fix potential overflows in rk_hypergeometric_hrua() | Anton Ovchinnikov | 2015-03-03 | 2 | -2/+13 | |
| | ||||||
* | DOC: correct erroneous description of Rayleigh distribution | Eric Firing | 2015-01-30 | 1 | -4/+4 | |
| | ||||||
* | DOC: fix a few bugs in the random.pareto docstring. Closes gh-4181. | Ralf Gommers | 2015-01-17 | 1 | -15/+15 | |
| | | | | [ci skip] | |||||
* | DOC: style fixes for random.multivariate_normal docstring. | Martin Thoma | 2015-01-07 | 1 | -8/+12 | |
| | ||||||
* | Merge pull request #5390 from sturlamolden/mtrand-bugfix-threadsafe | Julian Taylor | 2014-12-23 | 1 | -16/+22 | |
|\ | | | | | | | BUG: Make RandomState.seed, RandomState.randint and RandomState.shuffle threadsafe | |||||
| * | BUG: make seed, randint and shuffle threadsafe | Sturla Molden | 2014-12-23 | 1 | -16/+22 | |
| | | ||||||
* | | Merge pull request #5388 from sturlamolden/mtrand-bugfix-threadsafe | Julian Taylor | 2014-12-23 | 1 | -7/+11 | |
|\ \ | |/ | | | | | BUG: Make RandomState.set_state and RandomState.get_state threadsafe | |||||
| * | BUG: make set_state and get_state threadsafe | Sturla Molden | 2014-12-23 | 1 | -7/+11 | |
| | | ||||||
* | | DOC : do not abuse enumeration for return types | Thomas A Caswell | 2014-12-12 | 1 | -5/+5 | |
| | | | | | | | | | | change '{ndarray, float}' -> 'ndarray or float' as {} are for when the value is an enumeration | |||||
* | | Update docstring for multivariate_normal(). | chebee7i | 2014-11-10 | 1 | -4/+6 | |
| | | | | | | | | | | | | The change is to make a stronger statement that the covariance matrix must be positive-semidefinite and that if it is not, then the results are not guaranteed across NumPy versions. | |||||
* | | Merge pull request #5140 from pyhits/5136 | Julian Taylor | 2014-09-30 | 1 | -1/+4 | |
|\ \ | | | | | | | | | | BUG: ImportError: No module named thread |