I'm not sure if or when either of these will be available, but neither are trivial. Both questions are probably better asked on the cython lists.
- Robert On Jul 22, 2009, at 12:17 PM, Ethan Van Andel wrote: > Robert, > > Is there any prediction for when numpy complex types will work? > (outside of the notebook, when compiling via sage -b) On Jul 22, 2009, at 12:56 PM, Ethan Van Andel wrote: > > Yet another question: > > When I compile my class, I get something like this: > > cdef class Riemann_Map: > cdef int N, B, ncorners > cdef f > cdef opp > cdef double complex a > cdef np.ndarray[float,ndim = 1] tester > ^ > ------------------------------------------------------------ > > /home/evlutte/opt/sage-3.2.3/devel/sage-main/sage/plot/riemann.pyx: > 39:19: Buffer types only allowed as function local variables > > Is there any way around this, that is, any way to get efficient array > performance from my self.something arrays? _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
