Dag Sverre Seljebotn wrote:

> cdef numpy.ndarray[numpy.int64, 2] = numpy.zeros([10, 10], numpy.int64)
> 
> This however creates an error:
> 'int64' is not a constant, variable or function identifier

You might like to look into how extension types are
made to behave as both types and runtime values --
this sounds like it might be something similar.

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

Reply via email to