Skip to content
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

Tuning nth root for finite fields #14551

Open
roed314 opened this issue May 8, 2013 · 0 comments
Open

Tuning nth root for finite fields #14551

roed314 opened this issue May 8, 2013 · 0 comments

Comments

@roed314
Copy link
Contributor

roed314 commented May 8, 2013

As of #7931, Sage uses an algorithm due to Johnston for computing the nth root of finite field elements and elements modulo n. In GF(p) for very large p and small n this algorithm is inferior to just factoring x^n-a, since it requires a primitive root modulo p. Preliminary timings indicate that Johnston's algorithm is sometimes faster even in the range of 80 decimal digits, but it sometimes fails spectacularly with runtime 300 times slower than factoring the polynomial.

We should add the polynomial option as an algorithm to nth root and have a reasonable default based on the size of n and p.

Component: finite rings

Issue created by migration from https://trac.sagemath.org/ticket/14551

@roed314 roed314 added this to the sage-5.11 milestone May 8, 2013
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@jdemeyer jdemeyer assigned ClementPernet and unassigned aghitza Sep 10, 2014
@mkoeppe mkoeppe removed this from the sage-6.4 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants