-
-
Notifications
You must be signed in to change notification settings - Fork 509
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
Dense polynomials over Z/nZ , with n composite and using NTL, failed to execute inverse_mod #15788
Comments
comment:3
For the record, when I try this in 7.3, the error reported is different (but this doesn't change the underlying issue with the documentation):
|
Author: Mark Saaltink |
Commit: |
New commits:
|
comment:6
ntl has its own implementation of invmod, so we use should use that, note also that ntl allows to use xgcd ever for composite n.
there is also invmod but it seems that does not work right now in my computer... |
comment:8
update milestone 8.3 -> 8.4 |
comment:9
Calculating xgcd of polynomials using NTL implementation still doesn't work in Sage 9.2. Code:
Output:
|
In sage 6.0, dense polynomials over Z/nZ with n composite raise an AttributeError about missing attribute xgcd when inverse_mod is called. Here is an example:
This works for polynomials ring over Z/nZ that use FLINT (so only for small n) or that use NTL but with prime n.
The buggy behavior is that sage indicates that inverse_mod attribute should exists :
Cyril
Component: basic arithmetic
Author: Mark Saaltink
Branch/Commit: u/msaaltink/dense_polynomials_over_z_nz___with_n_composite_and_using_ntl__failed_to_execute_inverse_mod @
87499b2
Issue created by migration from https://trac.sagemath.org/ticket/15788
The text was updated successfully, but these errors were encountered: