Imaginary<T>.MagnitudeSquared Property

Returns the square of the modulus of a complex number.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public T MagnitudeSquared { get; }

Property Value

T
The square of the modulus of the imaginary 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 squared modulus is equal to the square of the imaginary part.

See Also