3 ms·
It's useful for rotation on an imaginary plane. In Python: >>> f=lambda x:x*1j >>> f(1) 1j >>> f(f(1)) (-1+0j) >>> f(f(1)) == -1 T
by est 13y ago
It's useful for rotation on an imaginary plane.
In Python:
>>> f=lambda x:x*1j
>>> f(1)
1j
>>> f(f(1))
(-1+0j)
>>> f(f(1)) == -1
True
>>>