<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">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.</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On 2 Jul 2017, 9:46 AM +1000, Marten van Kerkwijk <m.h.vankerkwijk@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">I'm not sure there is *that* much against a class that basically just<br />
passes through views of itself inside `__matmul__` and `__rmatmul__`<br />
or calls new gufuncs, but I think the lower hurdle is to first get<br />
those gufuncs implemented.<br />
-- Marten<br />
_______________________________________________<br />
NumPy-Discussion mailing list<br />
NumPy-Discussion@python.org<br />
https://mail.python.org/mailman/listinfo/numpy-discussion<br /></blockquote>
</div>
</body>
</html>