-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Closed
Description
These are not terribly useful, but would be nice to have for completeness, so we can implement every binary operation between arrays by calling __array_ufunc__
(e.g., for NDArrayOperatorsMixin
, charris#19).
Currently ndarray implements __divmod__
and __pos__
in terms of other helper functions that aren't exposed in the API:
numpy/numpy/core/src/multiarray/number.c
Line 1120 in f368286
NPY_NO_EXPORT PyNumberMethods array_as_number = { |
Metadata
Metadata
Assignees
Labels
No labels