27 Aug
2019
27 Aug
'19
11:40 a.m.
27.08.19 20:07, Andrew Barnert via Python-ideas пише:
Before I get into this, let me ask you a question. What does the j suffix give us? You can write complex numbers without it just fine:
c = complex c(1, 2)
And you can even write a j function trivially:
def j(x): return complex(0, x) 1 + j(2)
But would anyone ever write that when they can write it like this:
1 + 2j
And it has its limitation. How would you write complex(-0.0, 1.0)?