Contiguous Array

Chintak Sheth chintaksheth at gmail.com
Sun Jul 21 00:37:47 EDT 2013


Hi Ronnie,

On Jul 21, 2013 10:00 AM, "Ronnie Ghose" <ronnie.ghose at gmail.com> wrote:
>
> So in skimage/colors why does it matter if the array is contiguous? Is
this for Cython operations later?
>

Yeah it is mainly for using memory views in Cython which is initialized as
C contiguous.
`cdef some_type[:. ::1] var_name`

In thus case ::1 is for C contiguous.

Chintak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130721/a4a8be37/attachment.html>


More information about the scikit-image mailing list