Why is Complex number notation the way it is?

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Dec 19 17:39:54 EST 2001


Josh Yotty wrote:
> 
> I've been coding Python for about a day now, and I can't 'see' why a
> complex number like 2+3i is represented as 2+3j in Python.

Guido was apparently thinking like an engineer at the
time. Electronic engineers use j instead of i to avoid
confusion with current.

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list