Complex literals (was Re: I am never going to complain about Python again)

Chris Angelico rosuav at gmail.com
Thu Oct 10 10:20:01 EDT 2013


On Fri, Oct 11, 2013 at 1:12 AM, Grant Edwards <invalid at invalid.invalid> wrote:
> Nope.  "i" is electical current (though it's more customary to use
> upper case).  "j" is the square root of -1.
>
>> and that hypercomplex numbers include i, j, k, and maybe even other
>> terms, and I never understood where j comes from. Why is Python
>> better for using j?
>
> Because that's the way we do it in electrical engineering.
>

Okay, so hold on a minute... a hypercomplex number is the sum of a
real number, some electrical current, an imaginary number, and k?

This belongs in the Izzet League, I think.

ChrisA



More information about the Python-list mailing list