fromPolar

inline fun fromPolar(magnitude: Float, phase: Float): ComplexF

Creates a new complex number using the specified polar coordinates.

Parameters

magnitude

Distance from the origin to the number.

phase

Angle measured in radians.