Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Complex.Conjugate Method

Computes the conjugate of a complex number and returns the result.

Namespace:  System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

Public Shared Function Conjugate ( _
	value As Complex _
) As Complex


Type: System.Numerics.Complex
A complex number.

Return Value

Type: System.Numerics.Complex
The conjugate of value.

The conjugate of a complex number inverts the sign of the imaginary component; that is, it applies unary negation to the imaginary component. If a + bi is a complex number, its conjugate is a - bi.

The following example displays the conjugate of two complex numbers.

Imports System.Numerics

Module Example
   Public Sub Main()
      Dim values() As Complex = { New Complex(12.4, 6.3), 
                                  New Complex(12.4, -6.3) }
      For Each value In values
         Console.WriteLine("Original value: {0}", value)
         Console.WriteLine("Conjugate:      {0}", 
   End Sub
End Module
' 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)

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

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.

Community Additions

© 2015 Microsoft