summaryrefslogtreecommitdiff
path: root/numpy/random/common.pyx
Commit message (Collapse)AuthorAgeFilesLines
* API: rename common, bounded_integers -> _common, _bounded_integers; cleanupmattip2019-10-111-976/+0
|
* API: rearrange the cython files in numpy.randommattip2019-10-111-1/+1
|
* MAINT: Improve error message dtype appearancealeju2019-08-131-1/+1
| | | | | | This changes the string conversion of an expected dtype in an error message from e.g. "<class 'numpy.float64'>" to "float64".
* BUG: Fix formatting error in exception messagealeju2019-08-131-1/+1
| | | | | | | | This commit fixes a simple formatting error in the generation of an exception message. The message is supposed to contain the expected vs. the actual dtype, but instead contained two times the expected dtype.
* MAINT: Change wrap_int definition to use maskKevin Sheppard2019-06-061-5/+2
|
* CLN: Remove trailing white spaceKevin Sheppard2019-06-061-4/+4
| | | | Remove all trailing white spaces in pyx files
* MAINT: Update PCG jump sizesKevin Sheppard2019-06-061-0/+10
| | | | | Update pcg jump sizes Wrap advance when too large
* STY: Clean up codeKevin Sheppard2019-05-271-0/+4
| | | | | | Pep8 fixes Remove unused imports Fix name error
* DOC: Add __all__ and document lockKevin Sheppard2019-05-271-1/+2
| | | | | Add docstring for lock Use __all__ to discuorage unless attributes from appearing
* ENH: Split poisson_lam_maxKevin Sheppard2019-05-231-4/+15
| | | | | | Use type-dependent poisson lam max Make private Fix backward compat issue in loggam
* BUG: Ensure integer-type stream on 32bitKevin Sheppard2019-05-201-3/+3
| | | | | | Ensure integer type is stream compatible on 32 bit Fix incorrect clause end Add integer-generator tests that check long streams
* MAINT: Implement API changes for randomgen-derived codemattip2019-05-201-39/+40
| | | | | | | | | | | | | | | | | | | | | remove numpy.random.gen, BRNG.generator, pcg*, rand, randn remove use_mask and Lemire's method, fix benchmarks for PCG removal convert brng to bitgen (in C) and bit_generator (in python) convert base R{NG,andom.*} to BitGenerator, fix last commit randint -> integers, remove rand, randn, random_integers RandomGenerator -> Generator, more "basic RNG" -> BitGenerator random_sample -> random, jump -> jumped, resync with randomgen Remove derived code from entropy Port over changes accepted in upstream to protect log(0.0) where relevant fix doctests for jumped, better document choice Remove Python 2.7 shims Use NPY_INLINE to simplify Fix performance.py to work Renam directory brng to bit_generators Fix examples wiht new directory structure Clarify relationship to historical RandomState Remove references to .generator Rename xoshiro256/512starstar
* DOC: fix doctests, move numpy.random -> numpy.random.gen in generator.pyxmattip2019-05-201-4/+4
|
* BENCH: convert bencmarks to asv formatmattip2019-05-201-0/+952
remove files that were part of the origal repo rework randomgen docs to integrate with numpy and fix some links remove convenience functions, require explicit call to gen.brng move code out of numpy.random.randomgen into numpy.random