[Numpy-discussion] Best way to insert C code in numpy code

David Warde-Farley dwf@cs.toronto....
Mon Sep 21 14:12:32 CDT 2009


On 21-Sep-09, at 2:55 PM, Xavier Gnata wrote:

> Should I read that to learn you cython and numpy interact?
> Or is there another best documentation (with examples...)?

You should have a look at the Bresenham algorithm thread you posted. I  
went to the trouble of converting some Python code for Bresenham's  
algorithm to Cython, and a pointer to the Cython+NumPy tutorial:

http://wiki.cython.org/tutorials/numpy

David


More information about the NumPy-Discussion mailing list