ArgComplex function

Fully qualified name: Std.Math.ArgComplex

function ArgComplex(input : Complex) : Double

Summary

Returns the phase of a complex number of type Complex.

Input

input

Complex number c = x + y𝑖.

Output

Phase Arg(c) = ArcTan(y,x) ∈ (-𝜋,𝜋].