ComplexMath.Arg Method
Click or drag to resize

ComplexMathArg Method

Computes the phase of a complex number.

Namespace:  Meta.Numerics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public static double Arg(
	Complex z
)

Parameters

z
Type: Meta.NumericsComplex
The argument.

Return Value

Type: Double
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 positive real number is zero.

See Also