summaryrefslogtreecommitdiff
path: root/numpy/random/mtrand/mtrand.pyx
Commit message (Collapse)AuthorAgeFilesLines
* BENCH: convert bencmarks to asv formatmattip2019-05-201-5036/+0
| | | | | | | 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
* Merge pull request #13277 from kritisingh1/randomMatti Picus2019-05-191-2/+9
|\ | | | | DOC: Document caveat in random.uniform
| * DOC: Document caveat in random.uniformkritisingh12019-04-201-2/+9
| |
* | DOC: Small readability improvementspacescientist2019-04-041-2/+2
|/
* DOC: Improve mtrand docstringsKevin Sheppard2019-04-021-23/+22
| | | | | | Remove excess underscores Fix lognormal docstring Standardize whitesapce
* DOC: Fix small issues in mtrand doc stringsKevin Sheppard2019-03-311-12/+12
| | | | | Remove overly long underscore Remove trailing whitespace
* DOC: Use std docstring for multivariate normal (#13203)Kevin Sheppard2019-03-281-1/+1
| | | Switch from python-style kwarg signature to style used for all other functions
* Merge pull request #12547 from bashtage/mvnormal-tol-checkAllan Haldane2019-03-211-0/+3
|\ | | | | ENH: Cast covariance to double in random mvnormal
| * ENH: Cast covariance to double in random mvnormalKevin Sheppard2018-12-141-0/+3
| | | | | | | | | | | | | | Cast the covariance in the multivariate normal to double so that the interpretation of tol is cleaner. closes #10839
* | Fix backticks, expand out docstring, improve consistencyKatharine Hyatt2019-03-141-8/+10
| |
* | DOC: Fix #12050 by updating numpy.random.hypergeometric docsKatharine Hyatt2019-03-131-8/+8
| | | | | | | | | | - Add backticks for some parameters in the body - Address the wording changes in the issue
* | Merge pull request #13096 from mattip/doctest-randomTyler Reddy2019-03-061-4/+4
|\ \ | | | | | | TEST: allow refcheck result to vary, increase discoverability of refcheck option
| * | TEST: allow margin of error, increase discoverability of refcheck optionmattip2019-03-061-4/+4
| | |
* | | Fix #13087 by raising a ValueError and adding a unit test for itBharat123Rox2019-03-051-0/+3
|/ /
* | DOC: Encourage users to use the non-matlab-style random functionsEric Wieser2019-02-271-17/+49
| | | | | | | | In response to twitter conversations that complain that `randn` is inconsistent with `zeros`, to which the answer is "that's because randn is a wrapper to make things look like matlab".
* | DOC: Remove incorrect statement about `randn` accepting floats as sizesEric Wieser2019-02-241-6/+4
| | | | | | | | This gives an error at least as far back as 1.12.x
* | DOC: fixes from reviewmattip2019-02-191-3/+3
| |
* | DOC: reflect changes from #5822 (May 2015) in the docsmattip2019-02-191-10/+14
| |
* | DOC: Fix Wald docstringKevin Sheppard2019-02-181-2/+2
| | | | | | | | | | Fix Wald Docstring to reflect actual restriction on parameters Add a test to ensure these are enforced for scalar inputs
* | DOC: Clean noncentral chi2 docstringKevin Sheppard2019-02-181-10/+1
| | | | | | | | Remove unnecessary and unhelpful reference
* | DOC: Correct negative_binomial docstringKevin Sheppard2019-02-051-10/+12
| | | | | | | | | | Correct negative_binomial docstring to reflect the correct treatment of floats when used
* | Merge pull request #12545 from bashtage/choice-nan-protectCharles Harris2019-01-101-1/+4
|\ \ | | | | | | BUG: Ensure probabilities are not NaN in choice
| * | BUG: Ensure probabilities are not NaN in choiceKevin Sheppard2018-12-141-1/+4
| |/ | | | | | | | | | | Add a check for NaN probabilities in random.choice closes #11250
* | DOC, TST: clean up matplotlib importsTyler Reddy2019-01-021-7/+0
| | | | | | | | | | | | * as requested by review in gh-12634, the vast majority of docstring matplotlib imports can be simplified to a single line
* | Merge pull request #12333 from tuelwer/masterMatti Picus2018-12-241-8/+20
|\ \ | | | | | | DOC: update description of the Dirichlet distribution
| * | Remove extra whitespaceTobias Uelwer2018-12-141-1/+1
| | |
| * | DOC: update description of the Dirichlet distributionTobias Uelwer2018-11-051-9/+21
| | |
* | | MAINT: clean up whitespace issues in mtrand.pyx.Tyler Reddy2018-12-141-25/+25
| | |
* | | TST, DOC: enable refguide_checkTyler Reddy2018-12-141-60/+74
| |/ |/| | | | | | | | | | | | | * ported the refguide_check module from SciPy for usage in NumPy docstring execution/ verification; added the refguide_check run to Azure Mac OS CI * adjusted NumPy docstrings such that refguide_check passes
* | MAINT: Prepare master for 1.17.0 development.Charles Harris2018-12-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | - Create 1.17.0-notes - Update index.rst for new notes - Update pavement.py - Update setup.py - Remove Python 2.7 and 3.4 from CI testing. - Add `# cython: language_level=3` to `*.pxd`, `*.pyx` files. Note that this removes support for both Python2.7 and Python3.4 in setup.py.
* | DOC: random: Make the constraint on the parameter `a` of weibull more precise.Warren Weckesser2018-11-121-1/+1
| |
* | Fix typo in docstring numpy.random.beta docGuillaume Gautier2018-11-071-2/+2
|/ | | | $\Beta(a,b)$ with a,b > 0 not >= See https://en.wikipedia.org/wiki/Beta_distribution
* Merge pull request #11613 from moshelooks/patch-2Matti Picus2018-10-121-4/+4
|\ | | | | BUG: have geometric() raise ValueError on p=0
| * BUG: have geometric() raise ValueError on p=0Moshe Looks2018-07-241-4/+4
| | | | | | Currently `np.random.geometric(0) => -9223372036854775808`
* | Merge pull request #11771 from asnasnasn/shuf-mmMatti Picus2018-10-121-3/+2
|\ \ | | | | | | BUG: Make `random.shuffle` work on 1-D instances of `ndarray` subclasses
| * | BUG: Make `random.shuffle` work on 1-D instances of `ndarray` subclassesWenjamin Petrenko2018-08-181-3/+2
| | | | | | | | | | | | Closes #11442.
* | | BUG: Fix in-place permutationKevin Sheppard2018-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | Alter test to check if arrays are the same to avoid in-place of some array-like objects closes #11975
* | | MAINT: Fix typos in random.hypergeometric's notesYukun Guo2018-08-211-4/+4
|/ /
* | DOC: fix capitalization of kilojoulesMatthew Brett2018-08-131-1/+1
|/ | | | Spotted by keithbriggs - see: gh-11728.
* fixes from reviewmattip2018-06-211-1/+1
|
* ENH: Allow size=0 in numpy.random.choicemattip2018-06-191-12/+12
|
* HTTP -> HTTPS, and other linkrot fixesMike Toews2018-06-161-32/+32
|
* MAINT: Don't use dtype strings when the dtypes themselves can be usedEric Wieser2018-06-131-26/+25
|
* PERF: Improve performance of random permutationKevin Sheppard2018-05-091-4/+18
| | | | | | | Use fancy indexing instead of a shuffle to avoid unnecessary object access closes #11013
* DOC: Fix negative binomial documentation.Hameer Abbasi2018-04-201-10/+8
|
* Merge pull request #10878 from mattip/devdocsRalf Gommers2018-04-161-27/+27
|\ | | | | DOC: rework documents and silence warnings during sphinx build
| * silence warnings, matplotlib deprecated normed in favor of densitymattip2018-04-101-27/+27
| |
* | Merge pull request #10903 from subhrm/10902-docu-fixCharles Harris2018-04-151-1/+1
|\ \ | | | | | | DOC: Fix link in `See Also` section of `randn` docstring.
| * | Fixes #10902: Changed `See Also` doc-string section of `randn`Subhendu Ranjan Mishra2018-04-131-1/+1
| |/
* | DOC, BUG : Bad link to `np.random.randint` (#10901)Subhendu2018-04-131-1/+1
|/ | | | | | * fixes #10886 : Bad link to `np.random.randint` * Issue #10886: Change from `np.random.randint` to `randint` in 'See Also` doc-string section of mtrand.pyx