Cython & memory views

Stéfan van der Walt stefan at sun.ac.za
Mon Jul 16 16:50:53 EDT 2012


Hi everyone,

It would be great if all devs could familiarize themselves with the
Cython interface to memoryviews:

http://docs.cython.org/src/userguide/memoryviews.html

I think we should head in this direction with any new code.  If that
was too long, here's the gist of it:

cdef cnp.ndarray[cnp.double_t, 2] x = ... -> double[:, :] x = ...

Stéfan



More information about the scikit-image mailing list