Complex.Reciprocal Method Returns the multiplicative inverse of a complex number. : Complex « Data Types « VB.Net





Complex.Reciprocal Method Returns the multiplicative inverse of a complex number.

 

Imports System.Numerics

Module Example
   Public Sub Main()
      Dim values() As Complex = { New Complex(1, 1), New Complex(3, 5) }
      For Each value As Complex In values         
         Dim r1 As Complex = Complex.Reciprocal(value)                   
         Console.WriteLine("{0:N0} x {1:N2} = {2:N2}", 
                           value, r1, value * r1)
      Next
   End Sub
End Module

   
  










Related examples in the same category

1.Create Complex structure using real and imaginary values.
2.Complex Structure Represents a complex number.
3.Assign a Double to a complex number
4.Cast a Decimal to a complex number
5.Assign the return value of a method to a Complex variable
6.Assign the value returned by an operator to a Complex variable
7.Instantiate a complex number from its polar coordinates
8.Compare two Complex number values
9.Complex.Sqrt
10.Complex Number calculation
11.Complex.Pow
12.Assign a Double to a complex number
13.Cast a Decimal to a complex number.
14.Assign the return value of a method to a Complex variable.
15.Assign the value returned by an operator to a Complex variable.
16.Instantiate a complex number from its polar coordinates.
17.Complex.Log
18.Create new Complex number from Double.MinValue and Double.MaxValue
19.Complex.Abs Method Gets the absolute value (or magnitude) of a complex number.
20.Complex.Acos Method Returns the angle that is the arc cosine of the specified complex number.
21.Complex.Add Method Adds two complex numbers and returns the result.
22.Complex Addition Operator
23.Complex number array
24.Complex.Asin Method Returns the angle that is the arc sine of the specified complex number.
25.Complex.Atan Method Returns the angle that is the arc tangent of the specified complex number.
26.Complex.Conjugate Method Computes the conjugate of a complex number and returns the result.
27.Complex.Divide Method Divides one complex number by another and returns the result.
28.Complex.Equals Method (Complex)
29.Compare the Complex values
30.Complex.Exp Method Returns e raised to the power specified by a complex number.
31.Complex.FromPolarCoordinates Creates a complex number from a point's polar coordinates.
32.Complex.Imaginary Property Gets the imaginary component of the current Complex object.
33.Complex.ImaginaryOne Returns a Complex with a real number equal to zero and an imaginary number equal to one.
34.Complex.Multiply Method Returns the product of two complex numbers.
35.Complex.Negate Method Returns the additive inverse of a specified complex number.
36.Complex.Subtract Method Subtracts one complex number from another and returns the result.
37.Complex.ToString Method (IFormatProvider)
38.Complex number format: "F2", "N2", "G5"
39.Complex.ToString Method
40.Complex.Zero Field Returns a Complex with a real number equal to zero and an imaginary number equal to zero.
41.An explicit conversion of a BigInteger value to a complex number.
42.An explicit conversion of a Decimal value to a complex number.
43.Implicit conversion of an unsigned byte to a complex number.
44.Implicit conversion of a double-precision floating-point number to a complex number.
45.Implicit conversion of a 16-bit signed integer to a complex number.
46.Implicit conversion of a 32-bit signed integer to a complex number.
47.Implicit conversion of a 64-bit signed integer to a complex number.
48.Implicit conversion of a signed byte to a complex number.
49.Implicit conversion of a single-precision floating-point number to a complex number.
50.Implicit conversion of a 16-bit unsigned integer to a complex number.
51.Implicit conversion of a 32-bit unsigned integer to a complex number.
52.Implicit conversion of a 64-bit unsigned integer to a complex number.