ComplexMathAbs Method

Computes the absolute value of a complex number.

Definition

Namespace: Meta.Numerics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double Abs(
	Complex z
)

Parameters

z  Complex
The argument.

Return Value

Double
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