[Numpy-discussion] Add/multiply reduction confusion
Mon Aug 3 08:38:46 CDT 2009
Gael Varoquaux wrote:
> On Sun, Jul 05, 2009 at 02:47:18PM -0400, Andrew Friedley wrote:
>> Stéfan van der Walt wrote:
>>> 2009/7/5 Andrew Friedley <firstname.lastname@example.org>:
>>>> 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:
>>> 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
> I have added you to the Editor list.
Thanks and sorry about the delay; I went and added the comment I proposed.
More information about the NumPy-Discussion