summaryrefslogtreecommitdiff
path: root/numpy/array_api
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-05-14 15:31:02 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2021-10-11 19:32:34 -0500
commite9753fd770aec5248c180c85b6ec79b734feb812 (patch)
tree50a1d8bf6f448656f59825264d3c97367d45ce39 /numpy/array_api
parentc2d2104356b51be6c9596d354d7fa389c6a8ddbc (diff)
downloadnumpy-e9753fd770aec5248c180c85b6ec79b734feb812.tar.gz
MAINT: Refactor reductions to use NEP 43 style dispatching/promotion
This also implements new promoters for the logical functions. The reasoning is that any logical function can always be handled by first casting to boolean without changing the meaning. This is true (unless the output is object), and already effectively used for `np.all`/`np.any`.
Diffstat (limited to 'numpy/array_api')
0 files changed, 0 insertions, 0 deletions