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

The absolute value of a complex number is the distance of the number from the origin in the complex plane. This is a compatible generalization of the definition of the absolute value of a real number.

See Also