really silly nit: why 3+5j instead of 3+5i?

Robin Becker robin at jessikat.demon.co.uk
Sat May 13 10:19:21 CEST 2000


In article <ut6T4.1956$kr.256645 at paloalto-snr1.gtei.net>, Jeff Petkau
<jpet at eskimo.com> writes
>Can anyone tell me why Python uses 'j' instead of 'i' for imaginary
>numbers? I know this is really minor, but every bloody time I
>use complex numbers I forget and type i's, and have to go back
>and change them all to j's. My fingers just won't learn.
>
>[History of imaginary number notation, according to Google: Euler
>invented the things, and he used 'i'. Gauss made 'em famous, and
>he used 'i'. Everyone since then has used 'i' except for electrical
>engineers, and they probably just changed it to cause trouble. So
>why does Python use 'j'?]
>
>--Jeff
...
as an electrical engineer I should point out that we use i and I for
current so the j is to avoid confusion.
-- 
Robin Becker



More information about the Python-list mailing list