symengine / SymEngine.jl

Julia wrappers of SymEngine
MIT License
192 stars 43 forks source link

printing imaginary unit as `im`? #178

Closed Roger-luo closed 4 years ago

Roger-luo commented 5 years ago

Hi I'm wondering if it is possible to print imaginary unit as im which is more consistent with Julia, the current one I is sometimes confusing with the LinearAlgebra.I.

isuruf commented 5 years ago

We already have specializations for NaN, Infty and E for Julia in https://github.com/symengine/symengine/blob/master/symengine/printers/strprinter.cpp. We should fix I as well.

certik commented 5 years ago

A related issue for parsing: https://github.com/symengine/symengine/issues/1462