Re: [sympy] Magnitude of a complex number

2015-05-20 Thread Aaron Meurer
I guess simplify() just doesn't know about abs. You can open an issue. Aaron Meurer On Tue, May 19, 2015 at 4:00 PM, Oscar Benjamin oscar.j.benja...@gmail.com wrote: Am I misunderstanding something here (using master): $ isympy Couldn't locate IPython. Having IPython installed is greatly

[sympy] Magnitude of a complex number

2015-05-19 Thread Oscar Benjamin
Am I misunderstanding something here (using master): $ isympy Couldn't locate IPython. Having IPython installed is greatly recommended. ... z = (4+3*I)/(3-4*I) z 4 + 3⋅ⅈ ─── 3 - 4⋅ⅈ abs(z) │ 1 │ 5⋅│───│ │3 - 4⋅ⅈ│ simplify(abs(z)) │ 1 │ 5⋅│───│ │3 - 4⋅ⅈ│