[Numpy-discussion] New NEP: merging multiarray and umath

Nathaniel Smith njs at pobox.com
Thu Mar 8 03:57:38 EST 2018


On Thu, Mar 8, 2018 at 12:47 AM, Eric Wieser
<wieser.eric+numpy at gmail.com> wrote:
> This means that ndarray needs to know about ufuncs – so instead of a clean
> layering, we have a circular dependency.
>
> Perhaps we should split ndarray into a base_ndarray class with no arithmetic
> support (add, sum, etc), and then provide an ndarray subclass from umath
> instead (either the separate extension, or just a different set of files)

This just seems like adding more complexity because we can, though?

-n

-- 
Nathaniel J. Smith -- https://vorpus.org


More information about the NumPy-Discussion mailing list