Hi Chuck,

Like Sebastian, I wonder a little about what level you are talking
about. Presumably, it is the actual implementation of the ufunc? I.e.,
this is not about the upper logic that decides which `__array_ufunc__`
to call, etc.

If so, I agree with you that it would seem to make most sense to move
the implementation to `multiarray`; the current structure certainly is
a major hurdle to understanding how things work!

Indeed, I guess in terms of my earlier suggestion to make much of a
ufunc happen in `ndarray.__array_ufunc__`, one could seem the type
resolution and iteration happening there. If one were to expose the
inner loops, anyone working with buffers could then use the ufuncs by
defining their own __array_ufunc__.

All the best,

Marten
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to