Previous Up Next

5.11.7  The normalized complex number: normalize unitV

normalize or unitV takes as argument a complex number.
normalize or unitV returns the complex number divided by the modulus of this complex number.
Input:

normalize(3+4*i)

Output:

(3+4*i)/5

Previous Up Next