-
-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrap NTL's lzz_pE and lzz_pEX and use them #8109
Comments
Attachment: trac_8109-lzz_pEX.patch.gz needs #7841 (I guess) |
comment:1
Preliminary version. note: this is mostly a copy of existing files for wrapping ZZ_pE and ZZ_pEX with warning: there is no test (yet) for checking that the modulus is < NTL_SP_BOUND still, doctests pass and here are some results:
|
Changed keywords from none to ntl |
comment:2
Replying to @sagetrac-ylchapuy:
I must be tired... there is a check, it's done in the lzz_p class. I guess this one is ready for review then. I will open another ticket to do the same as #7841 latter. |
use both patches |
comment:3
Attachment: trac_8109-lzz_pEX-part2.patch.gz Finally, this is such a small patch that I add it here. |
Reviewer: roed |
comment:4
I'll review this. I'm working on multiple related things actually: improving finite fields (which I'm thinking of doing with a new templating class) and p-adic polynomials. |
comment:6
I see that you changed it to "needs work." One thing I noticed looking at the patch was that sage/libs/ntl/ntl_lzz_decl.pxd seems generally broken: shouldn't those be zz_p and lzz_p, not zz and lzz? |
Attachment: trac_8109-lzz_pEX-part3.patch.gz replacing all previous ones |
comment:7
Attachment: trac_8109-lzz_pEX-all_in_one.patch.gz Replying to @roed314:
It's even worse than that, this file just shouldn't exist :) |
Author: Yann Laigle-Chapuy |
comment:8
Attachment: trac_8109-lzz_pEX-copyrights.patch.gz Apply only:
in this order. |
comment:9
I get doctest failures on sage.math:
Looks like a 64-bit thing?
|
comment:10
The patch needs to be rebased as well. |
This should fasten polynomial arithmetic over finite fields of small characteristic.
Component: algebra
Keywords: ntl
Author: Yann Laigle-Chapuy
Reviewer: roed
Issue created by migration from https://trac.sagemath.org/ticket/8109
The text was updated successfully, but these errors were encountered: