Convert from polar coordinates to rectangular coordinates.polar(z) -> r: float, phi: float
Convert a complex from rectangular coordinates to polar coordinates. r is the distance from 0 and phi the phase angle.phase(z) -> float
Return argument, also known as the phase angle, of a complex.log(x[, base]) -> the logarithm of x to the given base. If the base not specified, returns the natural logarithm (base e) of x.tanh(x)