Complex.Division(Complex, Complex) Operator

Definition

Divides a specified complex number by another specified complex number.

public:
 static System::Numerics::Complex operator /(System::Numerics::Complex left, System::Numerics::Complex right);
public static System.Numerics.Complex operator /(System.Numerics.Complex left, System.Numerics.Complex right);
static member ( / ) : System.Numerics.Complex * System.Numerics.Complex -> System.Numerics.Complex
Public Shared Operator / (left As Complex, right As Complex) As Complex

Parameters

left
Complex

The complex value to be divided.

right
Complex

The complex value to divide by.

Returns

The result of dividing left by right.

Remarks

The division of a complex number, a + bi, and a second complex number, c + di, takes the following form:

$\frac{ac + cd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$

Languages that don't support custom operators and operator overloading can call the Complex.Divide(Complex, Double) equivalent method instead.

Applies to

See also