-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Transfer ring-specific functionality of factor() and roots() in polynomial_element.pyx to the correct ring files #11731
Comments
Changed keywords from factor, roots, univariate polynomial to factor, roots, univariate polynomial, sd32 |
comment:3
I started to work on moving the code out of |
Reviewer: Peter Bruin |
comment:5
I will try to review all the dependencies of this ticket. |
comment:8
Are there more base rings for which we want to do this? The method
|
comment:11
I guess we still want to fix this for the four remaining cases for factor():
roots() is a bit harder to clean up as the |
comment:12
A drawback of using |
Ticket arises as a result of #10635. The methods factor() and roots() for generic univariate polynomial elements in rings/polynomial/polynomial_element.pyx have a lot of ring-specific code that would be better suited as methods attached to each individual base ring.
To whit, patch #10635 allows for the creation of _factor_univariate_polynomial() and _roots_univariate_polynomial() as dundermethods on the base ring. This should now be done, and the relevant code from factor() and roots() should be moved to these methods.
Depends on #10635
Depends on #13272
Depends on #13274
Depends on #13275
Depends on #13276
CC: @williamstein @saraedum
Component: basic arithmetic
Keywords: factor, roots, univariate polynomial, sd32
Reviewer: Peter Bruin
Issue created by migration from https://trac.sagemath.org/ticket/11731
The text was updated successfully, but these errors were encountered: