[Numpy-discussion] replacing the mechanism for dispatching ufuncs

Darren Dale dsdale24@gmail....
Wed Jun 22 06:49:51 CDT 2011


On Tue, Jun 21, 2011 at 1:57 PM, Mark Wiebe <mwwiebe@gmail.com> wrote:
> On Tue, Jun 21, 2011 at 12:36 PM, Charles R Harris
> <charlesr.harris@gmail.com> wrote:
>> How does the ufunc get called so it doesn't get caught in an endless loop?

[...]

> The function being called needs to ensure this, either by extracting a raw
> ndarray from instances of its class, or adding a 'subok = False' parameter
> to the kwargs.

I didn't understand, could you please expand on that or show an example?

Darren


More information about the NumPy-Discussion mailing list