I'm doing a lot of finite field computations in finite fields of the
form GF(2^n).  Since I'd like to speed it up I want to use cython.
When I copy over the .py file to a .pyx and compile (after excising a
particular bug) it works fine.  Since I want more speed, I decided to
use ntl_GF2E.  So I put various cdef and cimport's in compiled it with
cython, but now the compilation with gcc fails because the cython
tranlated C is making declarations like:

GF2E x;

Now GF2E is declared the ntl .h files.  I suspect that somehow they're
not getting included.  The only cimport that I have is

from sage.lib.ntl.ntl_GF2E cimport GF2E

Is there anything else that I should include?

Victor

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to