Return a complex number constructed of the given real-part and imaginary-part parts.
Return the complex number mag * e^(i * ang).
Return the real part of the number z.
Return the imaginary part of the number z.
Return the magnitude of the number z. This is the same as
abs for real arguments, but also allows complex numbers.
(double re, double im)¶
(double x, double y)¶
respectively, but these functions take
doubles as their
Returns the real or imaginary part of z as a