summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* ENH: update numpy.linalg.multi_dot to accept an `out` argument (#15715)sslivkoff2020-04-301-0/+5
| | | | | | | | | | | | | * ENH: update numpy.linalg.multi_dot to accept an `out` argument * TST ensure value returned by numpy.linalg.multi_dot matches out * DOC add note about initial call to numpy.linalg.multi_dot * DOC add release note for #15715 Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* BUG: Fix numpy.random.dirichlet returns NaN for small 'alpha' parameters. ↵Benjamin Trendelkamp-Schroer2020-04-291-0/+7
| | | | | | | | | | | | | | | (#14924) * Add stick-breaking * Add tests demonstrating slowness for beta and dirichlet generators for small alpha (and beta) values * Remove the test for beta with small `a` and `b` * Switch from standard to stick-breaking method whenever alpha.max() < 0.1 Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
* Merge pull request #16097 from gamboon/patch-1Matti Picus2020-04-291-1/+1
|\ | | | | MAINT, DOC: Improve grammar on a comment in the quickstart
| * trivial: Improve grammar on a comment in the quickstartgamboon2020-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is a documentation change changing the following comment "this allows to have a 2D columns vector" to "view `a` as a 2D column vector" Rationale: - "allows to" and "columns vector" don't read well
* | NEP 41: Accept NEP 41 and add DType<->scalar duplication paragraphSebastian Berg2020-04-281-3/+20
|/ | | | | Also adds the resolution email and PR as well as mailing discussion threads.
* Merge pull request #16084 from mattip/protocolsRalf Gommers2020-04-271-2/+4
|\ | | | | DOC: tweak neps/scope.rst
| * DOC: tweak neps/scope.rstmattip2020-04-251-2/+4
| |
* | Merge pull request #16079 from rossbar/bld/shorten_doc_buildWarren Weckesser2020-04-261-17/+18
|\ \ | | | | | | DOC,BLD: Limit timeit iterations in random docs.
| * | DOC: Moved timeit examples under relevant bullet point.Ross Barnowski2020-04-251-11/+12
| | |
| * | DOC,BLD: Limit timeit iterations in random docs.Ross Barnowski2020-04-251-6/+6
| |/ | | | | | | | | | | | | | | | | | | Limiting the number of loops performed in the %timeit evaluation results in a ~20% speedup in the time it takes to build the documentation. The results of the "benchmarking" are less accurate from the limited number of evaluations, but the relationship between the timing between the legacy and Generator sampling methods is preserved.
* | DOC, BLD: update release howto and walkthrough for ananconda.org storage ↵Matti Picus2020-04-252-37/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#16054) * BLD: update release howto and walkthrough for ananconda.org storage * fixes from review * DOC: clarification from review * MAINT: Remove duplicated lines. [ci skip] Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
* | Merge pull request #16053 from anirudh2290/nep_40_doc_change_2Charles Harris2020-04-251-3/+3
|\ \ | |/ |/| DOC: Small typo fixes to NEP 40.
| * NEP, DOC: Small typo fixes to the docAnirudh Subramanian2020-04-241-3/+3
| |
* | DOC: Add missing bracket (gh-16051)Chunlin2020-04-258-8/+8
| | | | | | Add missing closing brackets, script to generate the list in the PR gh-16051.
* | Merge pull request #15648 from xiegengxin/avx512-exp-float64Matti Picus2020-04-231-0/+7
|\ \ | | | | | | MAINT: AVX512 implementation with intrinsic for float64 input np.exp()
| * | MAINT: Fixed some spelling mistakes in 15648.improvement.rstGengxin Xie2020-04-081-3/+3
| | |
| * | DOC: Release note about upcoming changesGengxin Xie2020-04-071-0/+7
| | |
* | | DOC: Clarify single-segment arrays in np reference (#16011)Anirudh Subramanian2020-04-221-0/+5
| | | | | | | | | | | | | | | * Update doc/source/reference/arrays.ndarray.rst Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* | | DOC: initialise random number generator before first use in quickstart (#16025)shreepads2020-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DOC: make random generator initialisation visible at the first point of use in the quickstart The random generator in the quickstart is initialised in a hidden test setup section at the start. This should be made visible at the first point of use so that new users don't get tripped up trying to set it up. Note that rg is also visibly initialised lower down in the Histogram section. Also moved another inline comment in the same example to ensure they are aligned as per the format used in the quickstart.
* | | DOC: update first section of NEP 37 (``__array_function__`` downsides) (#16015)Ralf Gommers2020-04-211-32/+50
| |/ |/| | | | | | | | | | | * DOC: update first section of NEP 37 (``__array_function__`` downsides) [ci skip] * Update NEP 37 based on review comments on gh-16015
* | REL: Update master after 1.18.3 release.Charles Harris2020-04-193-0/+70
| |
* | DOC: add note on flatten ordering in matlab page (#16001)Pierre de Buyl2020-04-171-1/+2
| | | | | | | | | | Add note on the ordering of matlab's ``x(:)`` vs NumPy ``x.flatten()`` fix #15837
* | NEP: Improve Value Based Casting paragraph in NEP 40 (#16000)Anirudh Subramanian2020-04-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * DOC: Improve Value Based Casting doc * Update doc/neps/nep-0040-legacy-datatype-impl.rst Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu> * Update doc/neps/nep-0040-legacy-datatype-impl.rst Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* | Merge pull request #14530 from ChrisBarker-NOAA/ChrisBarker-NEP-30-copy-editingRalf Gommers2020-04-121-17/+19
|\ \ | | | | | | MAINT: Fix typos and copy edit NEP-0030.
| * | DOC: a few typos and copy editing in NEP 30Chris Barker2020-04-111-17/+19
| | | | | | | | | | | | Co-Authored-By: Peter Andreas Entschev <peter@entschev.com>
* | | DOC: fix a NEP reference, number was incorrect (36 -> 35); update linkRalf Gommers2020-04-111-2/+2
| | |
* | | DOC: rename NEP 34 file for consistencyRalf Gommers2020-04-111-0/+0
|/ /
* | Merge pull request #14715 from pentschev/nep-like-parameterRalf Gommers2020-04-111-0/+186
|\ \ | | | | | | NEP: Proposal for array creation dispatching with `__array_function__`
| * | MAINT: change array creation dispatching with `__array_function__` to NEP-35Peter Andreas Entschev2019-11-041-1/+1
| | |
| * | MAINT: cite few examples of array creation functions in NEP-33Peter Andreas Entschev2019-10-161-2/+8
| | |
| * | MAINT: fix implementation example of NEP-33Peter Andreas Entschev2019-10-161-6/+2
| | |
| * | NEP: Proposal for array creation dispatching with `__array_function__`Peter Andreas Entschev2019-10-151-0/+184
| | | | | | | | | | | | | | | | | | | | | This NEP proposes the introduction of a `like=` argument. The argument is to be added to all array creation functions. This allows the user to pass a reference array that will use `__array_function__` protocol to dispatch such functions to downstream libraries.
* | | DOC: Update documentation w.r.t. NPY_RELAXED_STRIDES_CHECKING (gh-15907)Sebastian Berg2020-04-101-4/+6
| | | | | | | | | | | | This has been the default for a very long time, so this was incorrect and mentioning any versions is probably not helpful.
* | | BUG,DEP: Make `scalar.__round__()` behave like pythons round (#15840)Hameer Abbasi2020-04-102-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | See issue gh-15297 and related mailing list discussion. This PR bring scalar.__round__() in line with python, so that `round(scalar)` always returns a python integer, while `round(scalar, ndigits=0)` returns the same type. Since complex numbers are not supported in Python, and cannot be reasonably cast to integers they are deprecated. Closes gh-15297
* | | DOC: Correct private function name to PyArray_AdaptFlexibleDTypeAnirudh Subramanian2020-04-081-1/+1
| | |
* | | Merge pull request #15872 from Balandat/fix_eigh_mvn_samplingCharles Harris2020-04-041-0/+6
|\ \ \ | | | | | | | | BUG: Fix eigh and cholesky methods of numpy.random.multivariate_normal
| * | | Bug: Fix eigh mnd cholesky methods of numpy.random.multivariate_normalMax Balandat2020-04-041-0/+6
| | | | | | | | | | | | | | | | Fixes #15871
* | | | Merge pull request #15749 from panpiort8/masked_array_docsMatti Picus2020-04-041-1/+1
|\ \ \ \ | | | | | | | | | | DOC: document inconsistency between the shape of data and mask in numpy.ma
| * | | | Update doc/source/reference/maskedarray.baseclass.rstMatti Picus2020-04-041-1/+1
| | | | | | | | | | | | | | | Co-Authored-By: Sebastian Berg <sebastian@sipsolutions.net>
| * | | | DOC: document inconsistent mask results in MaskedArrayPan Jan2020-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | Co-Authored-By: Tianxiang “Ronnie” Gao <tienhsiangkao@tamu.edu>
* | | | | NEP: Add paragraph to NEP 41 about no array-object use and fix links (gh-15834)Sebastian Berg2020-04-034-17/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding a paragraph in a direction like this was a request by Travis Oliphant in the mailing list discussion. * Apply suggestions from code review Co-Authored-By: Eric Wieser <wieser.eric@gmail.com> * Update doc/neps/nep-0041-improved-dtype-support.rst Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | | | | Merge pull request #15894 from Qiyu8/missingMaApiMatti Picus2020-04-031-0/+1
|\ \ \ \ \ | | | | | | | | | | | | DOC: Add missing doc of numpy.ma.apply_over_axes in API list.
| * | | | | DOC: Add missing doc of numpy.ma.apply_over_axes in API list.Qiyu82020-04-021-0/+1
| | | | | |
* | | | | | DOC: Fixed order of items and link to mailing list in dev docs index. (#15901)Melissa Weber Mendonça2020-04-021-9/+8
|/ / / / / | | | | | | | | | | | | | | | | | | | | * Fixed order of items and link to mailing list. * Fixed link for github.
* | | | | Merge pull request #15867 from eric-wieser/deprecate-tostringMatti Picus2020-04-011-0/+6
|\ \ \ \ \ | | | | | | | | | | | | DEP: Deprecate ndarray.tostring()
| * | | | | Update doc/release/upcoming_changes/15867.deprecation.rstEric Wieser2020-04-011-2/+4
| | | | | |
| * | | | | DEP: Deprecate ndarray.tostring()Eric Wieser2020-03-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | The corresponding `array.array.tostring()` in the standard library has been deprecated in favor of `tobytes` since Python 3.1 (python/cpython@1ce3eb5c5b4830e69b21865e2d723e22749544e0).
* | | | | | ENH: Add keepdims argument to count_nonzero (gh-15870)Warren Weckesser2020-03-311-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Enables the keepdims argument (kwarg only) for count nonzero, since it is a reduce like operation.
* | | | | | Merge pull request #15882 from ↵Matti Picus2020-03-311-0/+5
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | eric-wieser/reject-illegal-strides-in-ndarray.__new__ BUG: Do not ignore empty tuple of strides in ndarray.__new__
| * | | | | BUG: Do not ignore empty tuple of strides in ndarray.__new__Eric Wieser2020-03-311-0/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Previously this was treated as though an empty set of strides were passed. Now this is treated as a request for `.strides == ()`.