Hi there,
currently, the code snippet
-------------
import numpy
cimport numpy
cdef class myclass:
cdef numpy.ndarray[numpy.float_t] data
-------------
produces the error
"Buffer types only allowed as function local variables"
Is this a fundamental limitation of Cython or just something that has not yet
been implemented?
Is there a workaround that allows me to store and efficiently access buffer
data in an extension type?
At the moment, this seems to be the major performance bottleneck in my
otherwise straightforwardly cythonized program.
Thanks for any help!
Greetings,
Norbert Nemec
--
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss
für nur 17,95 Euro/mtl.!*
http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev