Complex.Conjugate Method
Computes the conjugate of a complex number and returns the result.
Assembly: System.Numerics (in System.Numerics.dll)
Parameters
- value
- Type: System.Numerics.Complex
A complex number.
The following example displays the conjugate of two complex numbers.
using System; using System.Numerics; public class Example { public static void Main() { Complex[] values = { new Complex(12.4, 6.3), new Complex(12.4, -6.3) }; foreach (Complex value in values) { Console.WriteLine("Original value: {0}", value); Console.WriteLine("Conjugate: {0}\n", Complex.Conjugate(value).ToString()); } } } // The example displays the following output: // Original value: (12.4, 6.3) // Conjugate: (12.4, -6.3) // // Original value: (12.4, -6.3) // Conjugate: (12.4, 6.3)
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.