| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
DOC: Add axis to random module "new or different" docs
|
| |
| |
| |
| |
| | |
Added `permutation` to `choice` and `shuffle` in the list of
highlighted methods with an `axis` kwarg.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|\ \
| | |
| | | |
DOC: Fix links for NEP 40 in NEP 41
|
| | |
| | |
| | |
| | |
| | |
| | | |
Mainly the links between the two documents require :ref:,
but also the weblink had an incorrect :ref: and the datatype
link was not correct.
|
|\ \ \
| | | |
| | | | |
REL: Update master after NumPy 1.18.4 release
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Add 1.18.4-changelog.rst
- Add 1.18.4-notes.rst
- Update release.rst
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds the environment variable help link:
https://code.visualstudio.com/docs/python/environments
for VSCode.
Closes gh-16139 and gh-15183
|
|\ \ \ \
| | | | |
| | | | | |
ENH: Allow toggling madvise hugepage and fix default
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These are options that are controlled typically through environment
variable at startup or compile time.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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: Change import error "howto" to link to new troubleshooting page
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DOC: Move misplaced news fragment for gh-13421
|
| | |_|/ /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(#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>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
MAINT, DOC: Improve grammar on a comment in the quickstart
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Also adds the resolution email and PR as well as mailing discussion
threads.
|
|\ \ \ \
| | | | |
| | | | | |
DOC: tweak neps/scope.rst
|
| | |_|/
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
DOC,BLD: Limit timeit iterations in random docs.
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(#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>
|
|\ \ \ \
| |/ / /
|/| | | |
DOC: Small typo fixes to NEP 40.
|
| | | | |
|
| | | |
| | | |
| | | | |
Add missing closing brackets, script to generate the list in the PR gh-16051.
|
|\ \ \ \
| | | | |
| | | | | |
MAINT: AVX512 implementation with intrinsic for float64 input np.exp()
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Update doc/source/reference/arrays.ndarray.rst
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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)
[ci skip]
* Update NEP 37 based on review comments on gh-16015
|
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
Add note on the ordering of matlab's ``x(:)`` vs NumPy ``x.flatten()``
fix #15837
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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>
|
|\ \ \
| | | |
| | | | |
MAINT: Fix typos and copy edit NEP-0030.
|
| | | |
| | | |
| | | |
| | | | |
Co-Authored-By: Peter Andreas Entschev <peter@entschev.com>
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
NEP: Proposal for array creation dispatching with `__array_function__`
|
| | | | |
|