complex numbers should respect the "I" representation

Mark Dickinson dickinsm at
Sat Jun 28 16:22:43 CEST 2008

On Jun 28, 1:48 pm, "narutocan... at" <narutocan... at>
> hi
> I think complex numbers should respect the "i" or "I" representation,
> instead of "j".
> No reason being cute and using a different character instead of the
> traditional representation? At least have the decency of supporting
> the orginal representation?
> Programmers use j as frequently as i as indexing variable, I see no
> reason choosing "j" over "i". Have some respect for majority's rules.
> This is childish.

You could set "I = 1j" at the start of your scripts.  Then you can
happily write your complex numbers in the form:



More information about the Python-list mailing list