[Numpy-discussion] numpy and cython in pure python mode

Sturla Molden sturla@molden...
Tue Sep 22 02:12:06 CDT 2009

Sebastian Haase skrev:
> I know that cython's numpy is still getting better and better over
> time, but is it already today possible to have numpy support when
> using Cython in "pure python" mode?
I'm not sure. There is this odd memoryview syntax:

import cython
view = cython.int[:,:](my2darray)

print view[3,4] # fast when compiled, according to Sverre


More information about the NumPy-Discussion mailing list