diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-12-09 01:08:33 -0800 |
---|---|---|
committer | Tyler Reddy <tyler.je.reddy@gmail.com> | 2019-05-14 13:52:35 -0700 |
commit | dfe7b9db2350505903ba19867bf27dabda2bff71 (patch) | |
tree | 60a4ab3db913c5b4276e060ffdd490e42380c25a /numpy/lib/tests/test_function_base.py | |
parent | 8970dc8e588776bbae45953b2809883c4b6f8ed0 (diff) | |
download | numpy-dfe7b9db2350505903ba19867bf27dabda2bff71.tar.gz |
ENH/DEP: Use a ufunc under the hood for ndarray.clip
This includes:
* The addition of 3-input PyObject inner loop
* The removal of `->f->fastclip` for builtin types, which now use ufuncs instead
* A deprecation in `PyArray_Clip` for third-party types that still use `->f->fastclip`
* A deprecation of the unusual casting behavior of `clip`
* A deprecation of the broken `nan`-behavior of `clip`, which was previously dependent on dimensionality and byte-order.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions