[System.Runtime.CompilerServices.IsReadOnly()] [System.Runtime.Serialization.DataContract("urn:MathNet/Numerics")] [System.Serializable()] public struct Complex32 : System.ValueType
[System.Runtime.CompilerServices.IsReadOnly()] [System.Runtime.Serialization.DataContract("urn:MathNet/Numerics")] [System.Serializable()] public struct Complex32 : System.ValueType
The class Complex32
provides all elementary operations on complex numbers. All the operators +
, -
, *
, /
, ==
, !=
are defined in the canonical way. Additional complex trigonometric functions are also provided. Note that the Complex32
structures has two special constant values NaN and PositiveInfinity.
Complex32 x = new Complex32(1f,2f); Complex32 y = Complex32.FromPolarCoordinates(1f, Math.Pi); Complex32 z = (x + y) / (x - y);
For mathematical details about complex numbers, please have a look at the Wikipedia
System.Object
System.ValueType
Nevron.Nov.Numerics.Complex32
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)