Skip to content

Wrap Maxima's demoivre and exponentialize #10038

@qed777

Description

@qed777
mannequin

Sage does not appear to have easily accesible analogues of Mathematica's TrigToExp and ExpToTrig. From AskSage:

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)

CC: @kcrisman @sagetrac-fmaltey @slel

Component: symbolics

Keywords: expression tree

Author: Emmanuel Charpentier

Branch/Commit: e913bee

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/10038

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions