Many of the numpy functions (dot in particular) already execute as compiled
C extensions. Functions that execute mostly in Python (histogramdd for
example) can see a speedup by using Cython. That said, you would be better
off building numpy from source against lapack and atlas, this will give you
the most bang for you buck. the instructions on how to do that are on the
scipy website.

Chris

On Thu, May 28, 2009 at 9:18 AM, Dag Sverre Seljebotn <
[email protected]> wrote:

> OUARDA MEHDI wrote:
> > hi,
> > i'm using a lot numpy functions like dot, hstack, vstack, eye... to
> > cumpute matrix in my python programs.i was thinking that numpy uses
> > python iterator and objects so in order to go faster,i wonder if it is
> > worthy to rewrite( in cython )functions like that.
>
> It is probably better to ask this on the NumPy list.
>
> Dag Sverre
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to