Hi,
On Mon, Sep 19, 2011 at 4:18 PM, Aditya Sethi <ady.sethi@gmail.com> wrote:In the development version:
> But uadd.accumulate(..) or uadd.reduce(..) fail with error:
> ValueError: could not find a matching type for add (vectorized).accumulate
> ( or (vectorized).reduce )
> Apologies, I should have been more clear before.
In [4]: uadd.accumulate([1,2,3])
Out[4]: array([1, 3, 6], dtype=object)
In [5]: uadd.reduce([1,2,3])
Out[5]: 6
Regards
Stéfan
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion