Complex numbers in polar form

Issue #586 closed
Pol Welter created an issue

We now have complex numbers. That's a win.

To make it even better we now require a way to display them in polar form. Possibly make it dependent on angle setting by explicitly including degree in the result.

polar((1+1j)/sqrt(2)) = 1 exp(j *  45 degree)

Similarly, we need the functions rect(z) and phase(z). Fortunately abs is available already.

Comments (2)

  1. Log in to comment