forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sagemathgh-38686: Use the faster libgiac interface for "giac" integra…
…tion While working on sagemath#38668, I noticed that all of our examples that use giac for integration do so with `algorithm='giac'`. This uses the pexpect interface that is much slower (and simply sloppier) than the library interface that would be used with `algorithm='libgiac'`. To fix this, I could just change those examples to `algorithm='libgiac'`, but since the libgiac interface is better in every way, that seems kind of rude to me. Most users aren't going to know what lib-anything is, and if they just want to use giac, they're going to try `algorithm='giac'`. So instead this PR makes `algorithm='giac'` do the right thing, and use the better interface. I've left the `algorithm='libgiac'` alone for now to avoid breaking any code. Afterwards I have removed the pexpect giac integrator entirely, because there's no reason to use it, and no other code in sagelib uses it. URL: sagemath#38686 Reported by: Michael Orlitzky Reviewer(s): Dima Pasechnik, Tobias Diez
- Loading branch information
Showing
5 changed files
with
35 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters