[Numpy-discussion] Vector stacks
jni.soma at gmail.com
Sat Jul 1 20:31:33 EDT 2017
I’m with Nathaniel on this one. Subclasses make code harder to read and reason about because you now have to be sure of the exact type of things that users are passing you — which are array-like but subtly different.
On 2 Jul 2017, 9:46 AM +1000, Marten van Kerkwijk <m.h.vankerkwijk at gmail.com>, wrote:
> I'm not sure there is *that* much against a class that basically just
> passes through views of itself inside `__matmul__` and `__rmatmul__`
> or calls new gufuncs, but I think the lower hurdle is to first get
> those gufuncs implemented.
> -- Marten
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion