#10038: Wrap Maxima's demoivre and exponentialize
---------------------------+------------------------------------------------
Reporter: mpatel | Owner: burcin
Type: enhancement | Status: new
Priority: major | Milestone:
Component: symbolics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Sage does not appear to have easily accesible analogues of Mathematica's
`TrigToExp` and `ExpToTrig`. From [http://ask.sagemath.org/question/148
/complex-exponentialtrigonometric#comment-587 AskSage]:
{{{
#!python
sage: x = var('x')
sage: t1 = cos(x)
sage: t2 = e^(I * x) / 2 / I - e^(-I * x) / 2 / I
sage: sageobj(t1._maxima_().exponentialize())
1/2*e^(-I*x) + 1/2*e^(I*x)
sage: sageobj(t2._maxima_().demoivre())
sin(x)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10038>
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.