#10268: adding GiNaC method to simplify_rational
---------------------------+------------------------------------------------
Reporter: bgoodri | Owner: burcin
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.6.2
Component: symbolics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Description changed by bgoodri:
Old description:
> Currently simplify_rational() only offers 3 Maxima methods. GiNaC offers
> another possibility via its normal() method. This issue is discussed here
>
> http://groups.google.com/group/sage-
> devel/browse_thread/thread/843c17dcbd9c2958
>
> I have a patch and a benchmark but need to redownload sage because I am
> getting unrelated doctest failures with or without the patch.
New description:
Currently simplify_rational() only offers 3 Maxima methods. GiNaC offers
another possibility via its normal() method. This issue is discussed here
http://groups.google.com/group/sage-
devel/browse_thread/thread/843c17dcbd9c2958
I have a patch and a benchmark but need to redownload sage because I am
getting unrelated doctest failures with or without the patch.
EDIT: All tests pass now with the attached patch, as they should because
the default behavior is not changed. Also, I am attaching a benchmark
script using random rational expressions that simplify to 1. In this
benchmark, the GiNaC option is about 10 times faster than the default
option (Maxima's fullratsimp, without utilizing libraryness).
One limitation of this patch is that it does not support Maxima's map
option. GiNaC has a map function, but utilizing it from sage would require
a bit more effort.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10268#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.