fromPolar

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

Creates a new complex number using the specified polar coordinates.

Parameters

magnitude

the distance from the origin to the number.

phase

the angle measured in radians.