-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Replace Maxima with Pynac/Singular in Expression.factor() #23835
Comments
Dependencies: #23861 |
Changed dependencies from #23861 to pynac-0.7.12 |
Commit: |
Author: Ralf Stephan |
New commits:
|
This comment has been minimized.
This comment has been minimized.
Changed dependencies from pynac-0.7.12 to #23950 |
comment:8
If you rebase this to 8.4.beta0, I will review it. |
Reviewer: Travis Scrimshaw |
comment:9
Ping? |
comment:10
Sorry, due to other work I'm restricting my activities to maintaining Pynac and its upgrade tickets. |
comment:11
No problem. It ended up being a trivial rebase. So I am treating this ticket as a needs_review. While I do not see as big of a speed difference (9.5s to 3.2s), it still is quite an improvement. So positive review. New commits:
|
Changed branch from u/rws/replace_maxima_with_pynac_singular_in_expression_factor__ to u/tscrim/expression_factor-23835 |
Changed branch from u/tscrim/expression_factor-23835 to |
Changed commit from |
comment:13
See #27304 for a follow up (bug in factorization of exponentials). |
The default for symbolic factorization should be changed. Maxima as default should be replaced with a call to Pynac's
factor()
implementation, which itself uses Singular at the moment. Maxima should be made available viaex.factor(algorithm=...)
.As an example of performance gain here one of the Fateman benchmarks:
This takes 11 seconds on 8.1.beta5 and 3.3 seconds with Pynac factor (identical time using polynomial ring).
Depends on #23950
CC: @tscrim
Component: symbolics
Author: Ralf Stephan
Branch:
19cff3a
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/23835
The text was updated successfully, but these errors were encountered: