C# Complex Division

Description

Complex Division Divides a specified complex number by another specified complex number.

Syntax

Complex.Division has the following syntax.


public static Complex operator /(
  Complex left,
  Complex right
)

Parameters

Complex.Division has the following parameters.

  • left - The value to be divided.
  • right - The value to divide by.

Returns

Complex.Division method returns The result of dividing left by right.

Example


using System;// w  w w .  j  ava2s  .co  m
using System.Numerics;

public class Example
{
   public static void Main()
   {
        Complex c1 = new Complex(2.3, 3.7);
        Complex c2 = new Complex(1.4, 2.3);
        Complex c3 = c1 / c2;
   }
}




















Home »
  C# Tutorial »
    System.Numerics »




BigInteger
Complex