| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| |/ /
| | |
| | |
| | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | |
|
| | |
| | |
| | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | |
|
| | |
| | |
| | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | |
| | |
| | |
| | | |
compatibility without boundary
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
unwrap function signature compatible
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | |
| | |
| | | |
Phase unwrapping generalized to arbitrary interval size, such as 360 for phase in degree instead of radian. Also integer unwrapping is supported, but the return values are floats.
|
| | |
| | |
| | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Clarify that `isrealobj` returns True for non-array input rather
than raise an exception, which may be surprising.
Closes gh-12652
Co-authored-by: Mukulikaa <60316606+Mukulikaa@users.noreply.github.com>
|
|\ \ \
| | | |
| | | | |
DOC: improve numpy.histogram2d() documentation
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Clarify necessity of H.T in code example. Resolves issue #18929
Co-authored-by: Laura Kopf <60775505+lkopf@users.noreply.github.com>>
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | | |
Add Notes and Examples about behavior of isreal for string and object arrays
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Co-Authored-By: h-vetinari <h.vetinari@gmx.com>
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
of NumPy build
|
| | |
| | |
| | |
| | |
| | | |
Reject NaN as a percentile/quantile value. Previously NaNs could pass the range check `0 <= q <= 1`.
closes #18830
|
| | |
| | |
| | |
| | | |
Otherwise Numpydoc does not see the section.
|
| | |
| | |
| | |
| | |
| | |
| | | |
- `comments`: Added a full stop after 'discarded'.
- `names`: changed 'proceeded' to 'preceeded'.
- `excludelist`: inserted 'with' because it sounds odd without it; the example makes it clear.
- `replace_space`: should strictly be "variable names" or "variables' names". The latter seems fussy so I chose the former.
|
|\ \ \
| | | |
| | | | |
TST: add tests for using np.meshgrid for higher dimensional grids.
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
MAINT: Improve error message when common type not found.
|
| | | | | |
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* ENH: Remove call to `_filter_header` from `_write_array_header`
Improve performance of `np.save` by removing the call
when writing the header, as it is known to be done in Python 3.
* ENH: Only call `_filter_header` from `_read_array_header` for old vers
Improve performance of `np.load` for arrays with version >= (3,0)
by removing the call, as it is known to be done in Python 3.
* ENH: Use a set of keys when checking `read_array`
Improve performance of `np.load`.
* DOC: Improve performance of `np.{save,load}` for small arrays
|
|\ \ \ \
| | | | |
| | | | | |
DOC: Update some plotting code to current Matplotlib idioms
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- 3D Axes are created via add_subplot(projection='3d')
- There is now a `stairs()` function that's specifically designed for
showing histogram curves
- Labels should be passed as keyword arguments to the plot functions
instead of to `legend()`, which reduces the risk of mixing them up.
- ensure equal axis scaling in the meshgrid example
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ENH: Use new argument parsing for array creation functions
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The array creation functions have the most to gain:
1. np.asarray is 4 times faster and commonly used.
2. Other functions are wrapped using __array_function__ in Python
making it more difficult
This commit (unfortunatly) has to do a few things:
* Modify __array_function__ C-side dispatching to accomodate
the fastcall argument convention.
* Move asarray, etc. to C after removing all "fast paths" from
np.array (simplifying the code)
* Fixup imports, since asarray was imported directly in a few places
* Replace some places where `np.array` was probably used for speed
instead of np.asarray or similar. (or by accident in 1 or 2 places)
|
| |/ / / /
|/| | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Added chain exception in _pocketfft.py
* Added chain exception in format.py
* Added chain exception in make_lite.py
* Added chain exception in mrecords.py
* added from e for exceptions
* Minor update for _read_array_header exception msg
* Removed \n from excp msg and e from msg format.
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* Update numpy/linalg/lapack_lite/make_lite.py
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Added chain exception in _bits_of func
* Added chain exception
* Added chain exception in unixccompiler.py
* Added chain exception in config.py
* Added chain exception in fcompiler __init__.py
* Added chain exception in compaq.py
* Added chain exception in format.py
* Updated raise chain exception
* STY: Break long line.
Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ensures that type checkers will allow the likes of:
>>> import numpy as np
>>> out = np.lib.stride_tricks.sliding_window_view(...)
|
|\ \ \ \
| | | | |
| | | | | |
MAINT: Chain exceptions in index_tricks.py and mrecords.py
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DOC: Clarify docs for fliplr() / flipud()
|
| |/ / / / |
|
|/ / / / |
|