[Numpy-discussion] Add/multiply reduction confusion

Gael Varoquaux gael.varoquaux at normalesup.org
Sun Jul 5 14:57:00 EDT 2009


On Sun, Jul 05, 2009 at 02:47:18PM -0400, Andrew Friedley wrote:
> Stéfan van der Walt wrote:
> > 2009/7/5 Andrew Friedley <afriedle at indiana.edu>:
> >> I found the check that does the type 'upcasting' in
> >> umath_ufunc_object.inc around line 3072 (NumPy 1.3.0).  Turns out all I
> >> need to do is make sure my add and multiply ufuncs are actually named
> >> 'add' and 'multiply' and arrays will be upcasted appropriately.

> > Would you please be so kind as to add your findings here:

> > http://docs.scipy.org/numpy/docs/numpy-docs/reference/index.rst/#reference-index

> > I haven't read through that document recently, so it may be in there already.

> I created an account (afriedle) but looks like I don't have edit 
> permissions.

I have added you to the Editor list.

Gaël



More information about the NumPy-Discussion mailing list