#17065: use Maxima's trigrat() in symbolic simplify
-------------------------------------+-------------------------------------
Reporter: rws | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: symbolics | Resolution:
Keywords: maxima, | Merged in:
simplification, trigonometric | Reviewers:
Authors: Ralf Stephan | Work issues:
Report Upstream: N/A | Commit:
Branch: | 3db6f899c380523dc6d6e940650eede5984a37fa
u/rws/use_maxima_s_trigrat___in_symbolic_simplify| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by rws):
On the other hand, replacing `trigrat` with
`trigsimp/trigexpand/trigreduce` will fail in this case:
{{{
sage: sin(1/8*pi)*sin(3/8*pi)*sin(5/8*pi)*sin(7/8*pi)
sin(7/8*pi)*sin(5/8*pi)*sin(3/8*pi)*sin(1/8*pi)
sage: _.maxima_methods().trigreduce()
TypeError Traceback (most recent call
last)
/home/ralf/sage/local/lib/python2.7/site-
packages/sage/interfaces/interface.pyc in __init__(self, parent, value,
is_name, name)
624 self._name = parent._create(value, name=name)
625 except (TypeError, RuntimeError, ValueError) as x:
--> 626 raise TypeError(x)
627
628 def _latex_(self):
TypeError: ECL says: Unrecognised output from sp1sintcos.
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17065#comment:9>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.