Meta.Numerics Library
Arg Method (z)
Meta.NumericsMeta.NumericsComplexMathArg(Complex)
Computes the phase of a complex number.
Declaration Syntax
C#Visual BasicVisual C++F#
public static double Arg(
	Complex z
)
Public Shared Function Arg ( _
	z As Complex _
) As Double
public:
static double Arg(
	Complex z
)
static member Arg : 
        z:Complex -> float 
Parameters
z (Complex)
The argument.
Return Value
The value of arg(z).
Remarks

The phase of a complex number is the angle between the line joining it to the origin and the real axis of the complex plane.

The phase of complex numbers in the upper complex plane lies between 0 and π. The phase of complex numbers in the lower complex plane lies between 0 and -π. The phase of a real number is zero.