IMSL C# Numerical Library

Complex.Argument Method 

Returns the argument (phase) of a Complex, in radians, with a branch cut along the negative real axis.

public static double Argument(
   Complex z
);

Parameters

z
A Complex object.

Return Value

A double value equal to the argument (or phase) of a Complex. It is in the interval [-\pi,\pi].

See Also

Complex Class | Imsl.Math Namespace