| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
At least for now, lets not import it to the main namespace, since there is
no agreement that this is a good idea.
|
| |\
| |
| | |
REV: Revert gh-17654 - f2py incorrectly translates dimension declarations.
|
| | |
| |
| |
| | |
See also PR gh-17687.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* implement sliding_window_view #7753
Test cases are shown in the issue page.
* Add Example Cases
* Add step_size and N-dim support
* Add shape and step_size check. Remove warning.
* Remove shape default
Add step_size default's description.
* Give proper parameter name 'step'
* fix a parameter description mistake
* implement test function for sliding_window_view()
* implement test function for sliding_window_view()
* Fix according to @eric-wieser comments
* Change arange to ogrid in Examples
* remove np.squeeze on return line
* Clarify document to avoid parameter confusion.
* add `writable` and more explanation in docs
* resolve a write conflit
* fixes according to @seberg review
* resolve write hazard
* remove outdated docs.
* change referring according to @mattip.
change 'writeable' to 'readonly' as @seberg suggest.
remove 'step' as @eric-wieser request
* fix test minor error
* DOC: Grammar fixes
* STY: Add missing line break required by PEP8
* + Change readonly parameter to writeable.
+ Update writeable description.
+ Fix a few parameter checks.
+ Other minor improvements.
* Move to new api as proposed by @eric-wieser
- Change api to follow suggestion by Eric Wieser in
https://github.com/numpy/numpy/pull/10771#issuecomment-524715356
- Update docstring
- Add more tests
* Improve documentation
* Add sliding_window_view to documentation index
* Apply suggestions from code review
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* Fix window shape check
* Add `sliding_window_view` to __all__
* Add tests for error cases
* Add array_function dispatching
* Change dispatcher argument defaults to None
* Simplify array function dispatching
* Added "np." prefix to doctests
* Split tests
* Improved docstring
* Add release note
* Fix docstring formatting
* Fix doctest
* Remove namespacing in documentation indexing
* Improve docstring
* Improved docstring
* Simplified docstring
* Improve docstring to make pseudo code stand out
* Improve docstring
* Add simple application example
* Correct release note
* Improve link with as_strides
* Add note about performance
* Tidy up main doc string
* Make language on performance warning stronger
* Bugfix: pass subok and writeable to as_strided
* Add writeable test
* Add subok test
* Change subok test to use custom array subclass instead of unsupported MaskedArray
* Add version added information
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Fanjin <fjzeng@ucsd.edu>
Co-authored-by: Fanjin Zeng <Fnjn@users.noreply.github.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: fanjin <fjzeng@outlook.com>
Closes gh-7753
|
| |/
|
| |
Closes gh-17702
|
| | |
|
| | |
|
| |\
| |
| | |
BUG: Fixed an issue where `.pyi` files were ignored by numpy sub-packages
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
BUG,ENH: fix pickling user-scalars by allowing non-format buffer export
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
This also tests pickling as a regression test, since at least
at this time it is directly related to the buffer export.
|
| | | |
| | |
| | |
| | |
| | | |
This is necessary to allow pickling of the type object, which is
necessary to test pickling of the scalar (and in arrays)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we had code that would allow exporting the buffer, but
then fail for any reasonable subclass, because such a subclass
should have its own user-dtype.
The change is, that now a subclass without its own user-dtype will
inherit the correct behaviour directly.
This allows pickling of of such user-defined scalars (with
user-defined dtype) if no FORMAT was requested in the buffer export.
The latter allows the generic pickling code to succeed.
Closes gh-17294
|
| | | | |
|
| |\ \ \
| |_|/
|/| | |
MAINT: Rename `DtypeLike` to `DTypeLike`
|
| | | | |
|
| |\ \ \
| |/ /
|/| | |
Fix small typos.
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
SIMD: Add sum intrinsics for float/double.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |/ /
|/| |
| | |
| | | |
Flagged by LGTM.
|
| |\ \ \
| | | |
| | | | |
ENH: Add annotations for `np.core.shape_base`
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
BUG: mac dylib treated as part of extra objects by f2py
|
| | | |_|/
| |/| | |
|
| |\ \ \ \
| | | | |
| | | | | |
DOC: f2py: Add a docstring for getarrlen
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The API of this function is awful, and I still have no idea what it does.
Maybe someone reading the docstring will be able to work it out.
|
| | |_|_|/
|/| | |
| | | | |
operator '+' in line 272 have to advance char** or npy_intp*?
|
| |\ \ \ \
| | | | |
| | | | | |
ENH, TST: Bring the NumPy C SIMD vectorization interface "NPYV" to Python
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- use plain variables
- clean up aligned allocate
- use `PyArg_ParseTuple` for empty args
- use `Py_ssize_t` instead of `unsigned` and `size_t`
- improve coding style
- no need for a custom raises assertions
- use parametrize instead of inner loops
- leave a comment about nature of mode testing unit
- shift to get max/min of int72
- add more info to repr of vector object
- get ride of exec() and use type() instead
- use `.inc` as extension for sub-headers instead of `.h`
- add `FMA4` and drop `SSE41` from _SIMD targets
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
'_simd' is a new module to bring the NumPy C SIMD vectorization interface "NPYV"
The module is designed to be extremely flexible so that it can accommodate any kind
intrinsics, also to generate a python interface almost similar to the C interface.
The main purpose of this module is to test NPYV intrinsics in python,
but still can be used as an effective solution in designing SIMD kernels.
Also add a new command-line argument `--simd-test` to control of targeted CPU features
for the `_simd` module.
Co-authored-by: Matti Picus <matti.picus@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|