-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Sage should have generic resultant implementation for multivariate polynomials #2693
Comments
comment:5
In fact, singular resultants are slow compared to other methods, so it would really be a good idea to write specific sage code for resultants. See #16749 and #12174 for ideas about it. Just something like:
Would be both general for any polynomial ring, and faster than the current implementation. And of course, there could be a lot of cases where things can be done much faster, using specific backends where they are better. |
Changed keywords from none to resultant |
Commit: |
New commits:
|
Author: Frédéric Chapoton |
Branch: u/chapoton/2693 |
comment:8
green bot, please review |
comment:9
hmm, the second doctest is more about univariate polynomials. Maybe it should go there ? |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:11
ok, test is now at the right place. |
comment:12
and the bot is green. |
comment:13
LGTM. |
Reviewer: Travis Scrimshaw |
Changed branch from u/chapoton/2693 to |
Consider this example, which fails:
(as reported here: http://groups.google.com/group/sage-support/browse_thread/thread/1d6289cead33d063#)
This is because multivariate resultants are implemented using the Singular pexpect interface, which does not support RR.
A workaround for this particular problem (and a possible basis for an improved version) is:
That is, fall back to univariate resultants, which are implemented using Pari and are somewhat more generic. (This is still not truly generic, though, since there are Sage rings which have no Pari equivalent.)
CC: @tscrim @videlec @vinklein
Component: algebraic geometry
Keywords: resultant
Author: Frédéric Chapoton
Branch/Commit:
30bd620
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/2693
The text was updated successfully, but these errors were encountered: