I'm trying to get my head around how to let cython know the type of
the numpy array. I've seen a few examples with:

from cimport numpy as np
p.ndarray[np.float_t, mdim=1]

while numpy's documentation has float64 float32, from the following
link. Is there a mapping between numpy types and cython numpy types?

    http://docs.scipy.org/doc/numpy/user/basics.types.html

Thanks,

Vineet
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to