Getting the real or imaginary part with SymPy.jl

There is sympy.re (and sympy.im) to return the a and b of a+b im. But it seems the definitions of real and imag should be changed, as they are returning numeric values, not symbolic values. (`real` and `imag` · Issue #442 · JuliaPy/SymPy.jl · GitHub)

1 Like