Previously I was subverting the natural order of operations by subclassing from `ndarray`, but it turns out that you can tell just numpy to call your operator instead of its by setting the `__array_priority__` attribute on your class. This is much simpler, and it turns out the be a little more robust, too.
21 KiB
21 KiB