| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
ENH: add support for ILP64 OpenBLAS (without symbol suffix)
|
| |
| |
| |
| | |
Changing these to support ILP64 blas was missed in gh-15012
|
| |
| |
| |
| | |
Revise the BLAS name mangling to support the general scheme.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Generalize the ILP64 BLAS/LAPACK symbol name handling to deal with
arbitrary prefix/suffix.
The build-time behavior is changed so that HAVE_BLAS_ILP64 and
BLAS_SYMBOL_SUFFIX/PREFIX defines are added to compile options
as appropriate.
Mainly to make autodetection of BLAS/LAPACK easier for downstream
numpy.distutils users, add get_info aliases 'blas_ilp64_opt',
'blas_ilp64_plain_opt', and 'blas64__opt' for any/no/""&"64_"
prefix&suffix, and the same for lapack. (Due to the way system_info
works, each also gets a separate class.)
In addition to openblas64_ which has a fixed suffix, add the (by default
suffixless) openblas_ilp64, which correspond to the most likely cases to
be present.
|
| |
| |
| |
| |
| |
| | |
Distutils code needs to run in different temporary directories, probably
because they create `_configtest.c` files for compiler detection in the
current directory.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, f2py loaded the type mappings from a file ``.f2py_f2cmap``
in current directory, at import time.
Make the file name customizable by adding a ``--f2cmap`` command line
option, and postpone loading the file to f2py.run_main().
Moreover, restore the default type mapping in f2py.run_main() before
loading the customizations, so that multiple calls to f2py.run_main() do
not interfere with each other. (For example, numpy.distutils calls f2py
multiple times in the same process.)
|
| |
|
|
|
|
|
|
| |
This work is a follow up of gh-12658.
As requested in gh-15063, add NaT sort support for timedelta64 datatypes also.
Fixes gh-15063
|
|
|
|
|
|
|
| |
(gh-14940)
Scalars with a void dtype that contains objects were not pickled properly. Add a test and fix by checking the NPY_LIST_PICKLE flag of the dtype.
Fixes gh-13593
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit c088383cb290ca064d456e89d79177a0e234cb8d and
uses the same kind casting rule for the additional keyword arguments
``to_end`` and ``to_begin``. This results in slightly more leniant
behaviour for integers (which can now have overflows that are
hidden), but fixes an issue with the handling of NaN.
Generally, this behaviour seems more conistent with what NumPy does
elsewhere. The Overflow issue exists similar in many other places
and should be solved by integer overflow warning machinery while
the actual cast takes place.
Closes gh-13103
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit c088383cb290ca064d456e89d79177a0e234cb8d and
uses the same kind casting rule for the additional keyword arguments
``to_end`` and ``to_begin``. This results in slightly more leniant
behaviour for integers (which can now have overflows that are
hidden), but fixes an issue with the handling of NaN.
Generally, this behaviour seems more conistent with what NumPy does
elsewhere. The Overflow issue exists similar in many other places
and should be solved by integer overflow warning machinery while
the actual cast takes place.
Closes gh-13103
|
|\ \
| | |
| | |
| | | |
Test, fix for missing end words in fortran subroutines and functions.
Fixes gh-14625
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
TST: testing: check requires_memory immediately before the test
|
| | | |
| | | |
| | | |
| | | | |
MemoryErrors
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Put the $BROADCASTABLE_2 text on its own line, and add a line break
in the text. This changes a typical ufunc docstring from this (note
the very long line beginning 'The arrays to be subtracted...'):
```
Parameters
----------
x1, x2 : array_like
The arrays to be subtracted from each other. If ``x1.shape != x2.shape``, they must be broadcastable to a common shape (which becomes the shape of the output).
out : ndarray, None, or tuple of ndarray and None, optional
A location into which the result is stored. If provided, it must have
```
to this:
```
Parameters
----------
x1, x2 : array_like
The arrays to be subtracted from each other.
If ``x1.shape != x2.shape``, they must be broadcastable to a common
shape (which becomes the shape of the output).
out : ndarray, None, or tuple of ndarray and None, optional
A location into which the result is stored. If provided, it must have
```
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* NaT sorting to the end of arrays
was adjusted in NumPy 1.18.0 instead
of 1.17.0, so adjust sort() docs
accordingly
|
| | |
| | |
| | | |
Clarify axes argument and general text of `np.transpose`.
|
| | | |
|
|\ \ \
| | | |
| | | | |
MAINT: follow-up cleanup for blas64 PR
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Fix wrong multiplier for /proc/meminfo, and do style cleanups.
|
| | | |
| | | |
| | | | |
The "0.5-norm" violates the triangle inequality because its unit ball is nonconvex.
|
|\ \ \ \
| | | | |
| | | | | |
ENH: f2py: improve error messages
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Note that since we now need `npy_3kcompat.h`, we can delete all duplicated lines in this file
We preserve the original exception type for compatibility with old code here.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I just got this error while hacking some scipy internals, and had nowhere near enough information to debug it.
This is a little closer to useful.
|
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* TST: Add test for object method (and general unary) loops
These loops should give the same results as when run on the equivalent
numeric/floatingpoint values.
Adds additional tests for gh-15036
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Apart from the usual modifications, this
- Removes a release note snippet added after towncrier was run
- Removes testing on Python 3.5 as it is dropped for 1.19.x.
|
|\ \ \ \
| | | | |
| | | | | |
DOC, API: improve the C-API/Cython documentation and interfaces for random
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Exceptions tracebacks are dropped
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
For some reason this code reconstructed brand new exception objects with no traceback, rather than just re-raising
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Fix refcounting in ufunc object loops
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Previously `func` was leaked on both success and failure paths.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
MAINT: Only copy input array in _replace_nan() if there are nans to replace
|
| | |/ / / /
| |/| | | | |
|
| |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Using generators instead of full-blown lists
Using set for search instead of list
Using min to get single element insteaf of sorting full list
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DEP: issue deprecation warning when creating ragged array (NEP 34)
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|