Imaginary<T>.Magnitude Property
Gets the magnitude, modulus or absolute value of an imaginary number.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The modulus of the complex number.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public T Magnitude { get; }
Property Value
TThe modulus of the complex number.
Remarks
The modulus of a complex number is the square root of the sum of the squares of its real and imaginary elements. Since the real part of an imaginary number is zero, the modulus is equal to the absolute value of the imaginary part.