speed of numpy.power()?

Carlos Grohmann carlos.grohmann at gmail.com
Wed Aug 25 11:59:19 EDT 2010


On 25 ago, 12:40, David Cournapeau <courn... at gmail.com> wrote:
> On Wed, Aug 25, 2010 at 10:59 PM, Carlos Grohmann
>
Thanks David and Hrvoje. That was the feedback I was looking for.

I am using numpy in my app but in some cases I will use math.pow(),
as some tests with timeit showed that numpy.power was slower for
(x*x*x*x*x).

best

Carlos




More information about the Python-list mailing list