[Numpy-discussion] ufunc for sum of squared difference

Stephan Hoyer shoyer at gmail.com
Mon Nov 14 20:49:30 EST 2016

On Mon, Nov 14, 2016 at 5:40 PM, Matthew Harrigan <
harrigan.matthew at gmail.com> wrote:

> Essentially it creates a reduce for a function which isn't binary.  I
> think this would be generally useful.

NumPy already has a generic enough interface for creating such ufuncs. In
fact, it's called a "generalized ufunc":

I think you could already write "implicit reductions" using gufuncs?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20161114/a5873e74/attachment.html>

More information about the NumPy-Discussion mailing list