| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
This means moving ComplexWarning, TooHardError, and AxisError.
|
| |\
| |
| | |
API: Add numpy.testing.overrides to aid testing of custom array containers
|
| | |
| |
| |
| | |
Closes #15544
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This enables building with NumPy on Linux and macOS. Windows support
should be complete to, but is untested as of now and may need a few
tweaks. This contains:
- A set of `meson.build` files and related code generation script
tweaks, header templates, etc.
- One CI job on Linux
- Basic docs on using Meson to build NumPy (not yet integrated in the
html docs, it's too early for that - this is for early adopters right
now).
The build should be complete, with the major exception of SIMD support.
The full test suite passes. See gh-22546 for the tracking issue with
detailed notes on the plan for switching NumPy to Meson as its build
system.
Co-authored-by: Stefan van der Walt <stefanv@berkeley.edu>
|
| |/ |
|
| |
|
|
|
|
|
|
| |
Deprecate the fastCopyAndTranspose function from the Python API, and the
underlying PyArray_CopyAndTranspose function from the C-API.
Also removes an internal, private function _fastCopyAndTranspose which
was the original Python wrapper around the C-function.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
|
| |\
| |
| | |
ENH: Add ARM Compiler with ARM Performance Library support
|
| | | |
|
| |/
|
|
|
|
|
|
| |
To allow access to the docstring of ufunc via
identifier #DOC_PLACE_OF_UFUNC, e.g. DOC_NUMPY_CORE_UMATH_ABSOLUTE.
This patch is part of a series of steps aimed at replacing template sources
and the umath python generator with C++ meta-programming.
|
| | |
|
| |\
| |
| | |
BUG: Fix duplication of names in 'numpy.__all__'.
|
| | |
| |
| |
| | |
Closes gh-10198.
|
| | | |
|
| | |
| |
| |
| | |
Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| |\
| |
| | |
ENH: Allow `ctypeslib.load_library` to take any path-like object
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
ENH: Implementation of the NEP 47 (adopting the array API standard)
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ / |
|
| | |
| |
| |
| | |
All errors raised within the sub process will remain silenced if the return code isn't validated
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
- Make versions of the form '1.22.0.dev0' valid for non-releases.
- Put empty match at end of groups instead of at the beginning.
- Require eol in match, do not allow trailing characters.
|
| | |
| |
| |
| | |
Aforementioned module was accidently marked as public
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
With `as_strided`, and the newly introduced `sliding_window_view` function, there are currently 2 public objects that can:
a. Only be imported from a private module
b. Are publicly documented to-be imported from aforementioned module
Both observations are problematic and in need of rectification.
This commit therefore moves `np.lib.stride_tricks` to the `PUBLIC_MODULES` list.
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
* Add doc for deprecate_with_doc
Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This adds a warning when the main NumPy module is reloaded
with the assumption that in this case objects such as `np.matrix`,
`np._NoValue` or exceptions may be cached internally.
It also gives a warning when NumPy is imported in a sub-interpreter.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new tags look like '1.21.0.dev0+98.gaa0453721f', where '98' is the
number of commits since the 1.21.0 branch was started and 'aa0453721f'.
The chosen form may be specified in the 'setup.cfg' file. This PR adds
two new files 'numpy/_version.py' and 'numpy/version.py'. The latter
is kept because it is part of the public API and is actually used by
some downstream projects, but it is no longer dynamically created.
See https://github.com/python-versioneer/python-versioneer/ for more
information.
|
| | | |
|
| |\ \
| | |
| | | |
MAINT: Use numpy version for f2py version.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Because f2py is released as part of numpy, the old svn versioning
no longer makes sense and it was decided to use the numpy version
instead.
|
| | |/
|/| |
|
| |\ \
| | |
| | | |
ENH: Support for the NVIDIA HPC SDK nvfortran compiler
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Move them into a new `numpy/typing/tests directory`
|
| |\ \ \ |
|