summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | Address feedback from 2022-12-14Developer-Ecosystem-Engineering2023-01-041-342/+361
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Update .gitignore and meson.build for loops_unary_fp_le.dispatch.c.srcDeveloper-Ecosystem-Engineering2023-01-042-0/+2
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Clean-up merge to mainDeveloper-Ecosystem-Engineering2023-01-041-42/+0
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | fix commentDeveloper-Ecosystem-Engineering2023-01-041-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | move split test to test_fp_noncontiguous, remove use of as_strided as it was ↵Developer-Ecosystem-Engineering2023-01-041-53/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reading random data and not reliable also didn't give additional coverage
| * | | | | | | | | | | | | Trigger rerun of TravisCIDeveloper-Ecosystem-Engineering2023-01-040-0/+0
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | fix lint & add test_fp_noncontiguousDeveloper-Ecosystem-Engineering2023-01-041-9/+48
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | see if stride_tricks can give us more coverageDeveloper-Ecosystem-Engineering2023-01-041-1/+37
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | add some tests with different shape arraysDeveloper-Ecosystem-Engineering2023-01-041-1/+16
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | re-enable vx and vxe (avoid perf regressions) for existing code by splitting ↵Developer-Ecosystem-Engineering2023-01-046-463/+577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this new code into a new file
| * | | | | | | | | | | | | add tests to test_simd.pyDeveloper-Ecosystem-Engineering2023-01-041-0/+33
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Revert "CI: Try hooking gdb into failing CI (likely not correct, but lets ↵Developer-Ecosystem-Engineering2023-01-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | see...)" This reverts commit a05d9607885d9cfe7a0de25e3171f1758f861e6a.
| * | | | | | | | | | | | | Resolve linux32 stride failuresDeveloper-Ecosystem-Engineering2023-01-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On linux 32 an assert fires where stride (12) passed from ufunc_object (try_trivial_single_output_loop) to DOUBLE_isnan and DOUBLE_isfinite doesn't match the type size (8), we can relax this assert and instead fall back to the UNARY_LOOP path instead
| * | | | | | | | | | | | | CI: Try hooking gdb into failing CI (likely not correct, but lets see...)Sebastian Berg2023-01-041-0/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Resolve linux 32 failuresDeveloper-Ecosystem-Engineering2023-01-041-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't see these failures but CI is hitting them, attempting to resolve
| * | | | | | | | | | | | | resolve additional platform test failuresDeveloper-Ecosystem-Engineering2023-01-042-11/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Special case SSE Fix PPC64 build Only use vqtbl4q_u8 on A64 Stop trying to use optimizations on s390x
| * | | | | | | | | | | | | Add vector casts to resolve additional cygwin failuresDeveloper-Ecosystem-Engineering2023-01-041-4/+4
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Address cygwin failuresDeveloper-Ecosystem-Engineering2023-01-041-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Fix gcc failuresDeveloper-Ecosystem-Engineering2023-01-041-32/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use reinterpret to support casting across many compiler generations Resolve deprecation warnings
| * | | | | | | | | | | | | ENH: Implement SIMD versions of isnan,isinf, isfinite and signbitDeveloper-Ecosystem-Engineering2023-01-045-277/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NumPy has SIMD versions of float / double `isnan`, `isinf`, `isfinite`, and `signbit` for SSE2 and AVX-512. The changes here replace the SSE2 version with one that uses their universal intrinsics. This allows other architectures to have SIMD versions of the functions too.
* | | | | | | | | | | | | | Merge pull request #23121 from arunkumarkota/issue23086_second_tryMatti Picus2023-01-281-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOC:fix type in bitwise_ior
| * | | | | | | | | | | | | | DOC:fix type in bitwise_iorArun Kota2023-01-291-1/+1
|/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | DOC: Fix broken link in C-API array docs (#23117)Ross Barnowski2023-01-272-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add link to array iterator example Co-authored-by: arunkumarkota <arunkumarkota@gmail.com> Co-authored-by: Arun Kota <arunkota@Aruns-iMac.local>
* | | | | | | | | | | | | | Merge pull request #23113 from hmaarrfk/slots_for_mixinsSebastian Berg2023-01-273-0/+14
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ENH: Add slots to NDArrayOperatorsMixin allowing them in subclasses
| * | | | | | | | | | | | | | DOC: Add release note for new featureMark Harfouche2023-01-271-0/+3
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | TST: Add a test for slots and NDArrayOperatorsMixin subclassingMark Harfouche2023-01-271-0/+10
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | ENH: Add slots to NDArrayOperatorsMixin to make subclsasing smootherMark Harfouche2023-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I use the mixings in a few different file backed arrays. However, the lack of slots make it difficult for me to use slots. I mostly use slots to ensure that performance optimized code doesn't create unecessary references to large chunks of memory. If all parent classes do not have `__slots__` defined, I think that Python (3.9) just ignores `__slots__` alltogether. Thank you for considering.
* | | | | | | | | | | | | | | API: Raise EOFError when trying to load past the end of a `.npy` file (#23105)Noé Rubinstein2023-01-273-0/+20
| |_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the following code: ``` import numpy as np with open('foo.npy', 'wb') as f: for i in range(np.random.randint(10)): np.save(f, 1) with open('foo.npy', 'rb') as f: while True: np.load(f) ``` Will raise: ``` ValueError: Cannot load file containing pickled data when allow_pickle=False ``` While there is no pickled data in the file.
* | | | | | | | | | | | | | Merge pull request #22559 from richierocks/document_diag_indices_fromMatti Picus2023-01-261-0/+26
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOC #22266 Add examples for diag_indices_from()
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into document_diag_indices_fromRoss Barnowski2023-01-25452-6934/+13803
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | DOC: Fix example spacing and move to end of docstring.Ross Barnowski2023-01-251-11/+11
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Add examples for diag_indices_from()Richie Cotton2022-11-081-0/+26
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #23098 from ganesh-k13/bug_config_array_mesonSebastian Berg2023-01-261-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: Handle arrays in `conf_data`
| * | | | | | | | | | | | | | | | BUG: Handle arrays in `conf_data`ganesh-k132023-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `configuration_data` does not support `lists` as the data argument * ref: https://mesonbuild.com/Reference-manual_functions.html#arguments12
* | | | | | | | | | | | | | | | | Merge pull request #23097 from mattip/limit-buildSebastian Berg2023-01-261-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUILD: error when building with python<3.9 [skip ci]
| * | | | | | | | | | | | | | | | | BUILD: error when building with python<3.9mattip2023-01-261-2/+2
| | |_|_|_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge pull request #23045 from MikiPWata/doc/improve_nbytes_description-22925Matti Picus2023-01-261-0/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | DOC: Improved nbytes description
| * | | | | | | | | | | | | | | | STY: rm newline.Ross Barnowski2023-01-251-2/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | DOC: Improved nbytes description渡邉 美希2023-01-191-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: Improved nbytes description DOC: Improved nbytes description DOC: Improved nbytes description
* | | | | | | | | | | | | | | | | DOC: Pull existing PR workflow (#22908)Ganesh Kathiresan2023-01-251-0/+22
| |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #23093 from seberg/f2py-error-handling-is-a-messCharles Harris2023-01-251-1/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: Fixup f2py's handling a very little bit
| * | | | | | | | | | | | | | | | BUG: Fixup f2py's handling a very little bitSebastian Berg2023-01-251-1/+8
| | |/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This clears the error holding only to the type. Since in the other path the errmessage seemed completely uninitialized, I opted to just ignore it entirely and keep the old error. I could fathom to use error chaining here, but overall, I am not even sure that chaining makes even sense for these errors. This fix is meant to be minimal (the second one, I just noticed randomly), it does not make this code clean.
* | | | | | | | | | | | | | | | DOC, ENH: Improve docstring of real_if_close (#23087)Pieter Eendebak2023-01-251-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix docstring of real_if_close * factor out dtype
* | | | | | | | | | | | | | | | Merge pull request #23094 from ngoldbaum/exp-dtype-header-fixSebastian Berg2023-01-251-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: fix type in resolve_descriptors_function typedef
| * | | | | | | | | | | | | | | | BUG: fix type in resolve_descriptors_function typedefNathan Goldbaum2023-01-251-1/+1
|/ / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | Merge pull request #23077 from pradghos/fix_sin_cos_vxeSayed Adel2023-01-251-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: Fix for npyv__trunc_s32_f32 (VXE)
| * | | | | | | | | | | | | | | | replace __builtin_s390_vflls with npyv_doublee as beforePradipta Ghosh2023-01-241-2/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | BUG: Fix for npyv_s32 npyv__trunc_s32_f32 (VXE)Pradipta Ghosh2023-01-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | np.sin(), np.cos() are giving erroneous result for float32 (VXE) This PR is fixing `npyv_s32 npyv__trunc_s32_f32(npyv_f32 a)` to resolve the issue.
* | | | | | | | | | | | | | | | | DOC: fix typo in C API reference (#23092)Nathan Goldbaum2023-01-251-1/+1
| |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sizof -> sizeof
* | | | | | | | | | | | | | | | Merge pull request #23079 from seberg/fix-int-truediv-promotionMatti Picus2023-01-252-28/+56
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: Fix `integer / float` scalar promotion