mathics / Mathics

This repository is for archival. Please see https://github.com/Mathics3/mathics-core
https://mathics.org
Other
2.07k stars 206 forks source link

ComplexExpand would be nice to have #738

Open Masterxilo opened 6 years ago

Masterxilo commented 6 years ago

Sin[I + 1] // ComplexExpand

Cosh[1] Sin[1] + I Cos[1] Sinh[1]

wolfv commented 5 years ago

Do you want to try to implement it?

wolfv commented 5 years ago

sympy.expand(complex=True) should do the trick.

GarkGarcia commented 4 years ago

@Masterxilo is ComplexExpand implemented in Mathematica? This is also related to the discussion in https://github.com/mathics/Mathics/issues/793.

rocky commented 4 years ago

@GarkGarcia https://reference.wolfram.com/language/ref/ComplexExpand.html