summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #16078 from rossbar/doc/axis_to_new_or_differentMatti Picus2020-05-072-0/+15
|\ | | | | DOC: Add axis to random module "new or different" docs
| * DOC: Added `permutation` to methods with axis kwarg.Ross Barnowski2020-04-252-6/+7
| | | | | | | | | | Added `permutation` to `choice` and `shuffle` in the list of highlighted methods with an `axis` kwarg.
| * DOC: Added bullet about axis kwarg to rng overview docs.Ross Barnowski2020-04-252-0/+14
| | | | | | | | | | | | | | | | | | Modified the introductory/overview documentation for the random module to highlight the addition of the `axis` kwarg to methods like `shuffle` and `choice` for dealing with multi-dimensional arrays. Related to gh-16075
* | Mark tests as a subpackage rather than data.Hameer Abbasi2020-05-061-1/+1
| |
* | Merge pull request #16122 from anirudh2290/nep_41_correct_linkSebastian Berg2020-05-042-11/+17
|\ \ | | | | | | DOC: Fix links for NEP 40 in NEP 41
| * | DOC: Fix sphinx links in NEP 40 in NEP 41Anirudh Subramanian2020-05-042-11/+17
| | | | | | | | | | | | | | | | | | Mainly the links between the two documents require :ref:, but also the weblink had an incorrect :ref: and the datatype link was not correct.
* | | Merge pull request #16144 from charris/post-1.18.4-releaseCharles Harris2020-05-033-0/+62
|\ \ \ | | | | | | | | REL: Update master after NumPy 1.18.4 release
| * | | REL: Update master after NumPy 1.18.4 releaseCharles Harris2020-05-033-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | - Add 1.18.4-changelog.rst - Add 1.18.4-notes.rst - Update release.rst
* | | | DOC: Add VSCode help link to importerror troubleshootingSebastian Berg2020-05-031-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the environment variable help link: https://code.visualstudio.com/docs/python/environments for VSCode. Closes gh-16139 and gh-15183
* | | | Merge pull request #15769 from seberg/hugepages-allow-togglingMatti Picus2020-05-033-0/+101
|\ \ \ \ | | | | | | | | | | ENH: Allow toggling madvise hugepage and fix default
| * | | | Further DOC-Fixup base don Ross' reviewSebastian Berg2020-03-181-16/+16
| | | | |
| * | | | Apply suggestions from code review by RossSebastian Berg2020-03-171-10/+10
| | | | | | | | | | | | | | | Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu>
| * | | | DOC: Note few global global options we currently have in refdocsSebastian Berg2020-03-172-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | These are options that are controlled typically through environment variable at startup or compile time.
| * | | | ENH: Allow toggling madvise hugepage and fix defaultSebastian Berg2020-03-171-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default this disables madvise hugepage on kernels before 4.6, since we expect that these typically see large performance regressions when using hugepages due to slow defragementation code presumably fixed by: https://github.com/torvalds/linux/commit/7cf91a98e607c2f935dbcc177d70011e95b8faff This adds support to set the behaviour at startup time through the ``NUMPY_MADVISE_HUGEPAGE`` environment variable. Fixes gh-15545
* | | | | DOC: Added page describing how to contribute to the docs team (#16069)Melissa Weber Mendonça2020-05-034-5/+157
| |/ / / |/| | |
* | | | Merge pull request #16014 from seberg/import-error-infoCharles Harris2020-05-012-0/+126
|\ \ \ \ | | | | | | | | | | DOC: Change import error "howto" to link to new troubleshooting page
| * | | | Fix other comments from Ross and make it ImportError specificSebastian Berg2020-04-282-6/+6
| | | | |
| * | | | Apply suggestions from code reviewSebastian Berg2020-04-281-6/+5
| | | | | | | | | | | | | | | Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu>
| * | | | DOC: Change import error "howto" to link to troubleshooting docsSebastian Berg2020-04-282-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the C-API failed to load import error link to a new troubleshooting document in the user documentation. It links to the devdocs directly, since it should be possible to update the information at any time (e.g. when a new setup starts making issues). As these are not NumPy issues, their occurance is not tied to the NumPy release process.
* | | | | Merge pull request #16119 from seberg/misplaced-fragmentCharles Harris2020-05-011-0/+0
|\ \ \ \ \ | | | | | | | | | | | | DOC: Move misplaced news fragment for gh-13421
| * | | | | DOC: Move misplaced news fragment for gh-13421Sebastian Berg2020-04-301-0/+0
| | |_|/ / | |/| | |
* | | | | 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
| | | |