ComplexAsComplexPolar function

Fully qualified name: Std.Convert.ComplexAsComplexPolar

function ComplexAsComplexPolar(input : Complex) : ComplexPolar

Summary

Converts a complex number of type Complex to a complex number of type ComplexPolar.

Input

input

Complex number c = x + y𝑖.

Output

Complex number c = r⋅e^(t𝑖).