You are here : python_3cmathcmathpolar

cmath.polar() - cmath

Return the representation of x in polar coordinates.  Returns a
pair (r, phi) where r is the modulus of x and phi is the
phase of x.  polar(x) is equivalent to (abs(x),
phase(x)).


Syntax

cmath.polar(x)


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference