| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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__`
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
This has been the default for a very long time, so this was
incorrect and mentioning any versions is probably not helpful.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
|\ \ \
| | | |
| | | | |
BUG: Fix eigh and cholesky methods of numpy.random.multivariate_normal
|
| | | |
| | | |
| | | |
| | | | |
Fixes #15871
|
|\ \ \ \
| | | | |
| | | | | |
DOC: document inconsistency between the shape of data and mask in numpy.ma
|
| | | | |
| | | | |
| | | | | |
Co-Authored-By: Sebastian Berg <sebastian@sipsolutions.net>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Co-Authored-By: Tianxiang “Ronnie” Gao <tienhsiangkao@tamu.edu>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DOC: Add missing doc of numpy.ma.apply_over_axes in API list.
|
| | | | | | |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
* Fixed order of items and link to mailing list.
* Fixed link for github.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DEP: Deprecate ndarray.tostring()
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The corresponding `array.array.tostring()` in the standard library has been deprecated in favor of `tobytes` since Python 3.1 (python/cpython@1ce3eb5c5b4830e69b21865e2d723e22749544e0).
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Enables the keepdims argument (kwarg only) for count nonzero, since it is a
reduce like operation.
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | | |
eric-wieser/reject-illegal-strides-in-ndarray.__new__
BUG: Do not ignore empty tuple of strides in ndarray.__new__
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Previously this was treated as though an empty set of strides were passed.
Now this is treated as a request for `.strides == ()`.
|