| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
I feel like the `ndarray.transpose` has more details, and it's also called by `transpose`, so i changed the way the link between them was being used
|
| |
|
|\
| |
| | |
MAINT: fix name of first parameter to dtype constructor in type stubs
|
| | |
|
| |
| |
| |
| |
| | |
The first parameter to the constructor is currently called "obj",
which is incorrect. It should instead be "dtype".
|
|\ \
| | |
| | | |
BUG: fix sin/cos bug when input is strided array
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
DOC,ENH: extend error message when Accelerate is detected
|
| | | |
|
|\ \ \
| | | |
| | | | |
DOC: Improve "tobytes" docstring.
|
| | | |
| | | |
| | | |
| | | | |
Matches the order parameter options.
|
| | | |
| | | |
| | | | |
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | |
| | | |
| | | | |
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | |
| | | |
| | | | |
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | |
| | | |
| | | | |
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | | |
|
| | | | |
|
| |_|/
|/| |
| | |
| | |
| | |
| | | |
* DOC: fixing malformed documents
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | |
| | |
| | |
| | |
| | | |
DOC: Fix description of dtype default in linspace
Clarify that inferred type will never be integer. Fixes gh-8597.
|
| | |
| | |
| | |
| | |
| | | |
* BUG: make sure the endpoints of the array returned by geomspace() matches the 'start' and 'stop' arguments exactly
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
|\ \ \
| | | |
| | | | |
DOC: only single-polynomial fitting in np.polynomial.Polynomial.fit()
|
| | | |
| | | |
| | | | |
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | |
| | | |
| | | | |
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* DEP: Remove deprecated numeric types and deprecate remaining
This removes the types from usage for `np.dtype()`, since the
two are closely related, also finishes the deprecation of
`typeNA` and `sctypeNA` (thus removing them from the public API).
The deprecation for the numeric types was only shown for
`np.dtype("Complex64")`, etc. however, here they are also
removed from `np.typeDict` and `np.sctypeDict`.
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
BUG: Ensure SeedSequence 0-padding does not collide with spawn keys
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #16539
The implicit 0-padding that is done to small entropy inputs to make them the
size of the internal pool conflicts with the spawn keys, which start with an
appended 0.
In order to maintain stream compatibility with unspawned `SeedSequence`s, we
explicitly 0-pad short inputs out to the pool size only if the spawn key is
provided, and thus would trigger the bug. This should minimize the impact on
users that were not encountering the bug.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Simplified annotations for functions requiring >=1D ArrayLike
objects. Affects a set of <20 functions from
``np.core.fromnumeric``. Based on feedback from
https://github.com/numpy/numpy-stubs/pull/71.
|
| | | |
| | | |
| | | | |
* fix np.ma.core.doc_note
|
|\ \ \ \
| | | | |
| | | | | |
ENH: add type stubs from numpy-stubs
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
It currently splits on ":", which causes problems with drives.
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add the type stubs and tests from numpy-stubs. Things this entails:
- Copy over the stubs (numpy/__init__.pyi and
numpy/core/_internal.pyi)
- The only modification made was removing `ndarray.tostring` since
it is deprecated
- Update some setup.py files to include pyi files
- Move the tests from numpy-stubs/tests into numpy/tests
- Skip them if mypy is not installed (planning on setting up CI in a
future PR)
- Add a mypy.ini; use it to configure mypy in the tests
- It tells mypy where to find NumPy in the test env
- It ignores internal NumPy type errors (since we only want to
consider errors from the tests cases)
- Some small edits were made to fix test cases that were emitting
deprecation warnings
- Add numpy/py.typed so that the types are picked up in an
installed version of NumPy
|
|\ \ \ \
| | | | |
| | | | | |
BUG: fixes einsum output order with optimization (#14615)
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DOC: Correct MV Normal sig
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
Add new kw arg to sig
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Previously misspelling were allowed by these functions as long as e.g. the first
letter matched. They will now check whether the match is exact giving a deprecation
warning when it is not.
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DOC: Minor rounding correction in Generator.binomial
|
| |/ / / /
| | | | |
| | | | | |
Changed 38.88 from 38 to 39
|
| | | | |
| | | | |
| | | | | |
* when parsing auxv fail, try parsing /proc/cpuinfo
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fix for #16508. Cython wants every pointer declaration to be on a
separate line.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG:random: Error when ``size`` is smaller than broadcast input shapes.
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Broadcastable size with inputs does not produce an error when size produces
a smaller output array than the broadcast input shape. Patch checks that
the output shape matches the outer shape of the broadcast fo all inputs and
the size when given.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
MAINT: f2py: move thread-local declaration definition to common macro
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Move compiler thread-local declaration detection to a common macro.
Also support C11 thread_local declaration, if available.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
MAINT:ARMHF Fix detecting feature groups NEON_HALF and NEON_VFPV4
|