I am curious: why you recommend against this? Using the C-API through cython seems more attractive than using the Cython-specific numpy features since they need a specific number of dimensions (and I don't think they broadcast) and don't seem that much easier. Are there hidden disadvantages to using the C-API? Have I misunderstood something?
John On Tue, Feb 1, 2011 at 11:41 AM, Sturla Molden <stu...@molden.no> wrote: > Den 01.02.2011 20:30, skrev John Salvatier: > > Have you thought about using cython to work with the numpy C-API > > (http://wiki.cython.org/tutorials/numpy#UsingtheNumpyCAPI)? This will > > be fast, simple (you can mix and match Python and Cython). > > Never do this. Cython has NumPy array support now: > > http://docs.cython.org/src/tutorial/numpy.html > > > Sturla > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion