Complex.Divide(Complex, Complex) Method

Definition

Divides one complex number by another and returns the result.

public:
 static System::Numerics::Complex Divide(System::Numerics::Complex dividend, System::Numerics::Complex divisor);
public static System.Numerics.Complex Divide(System.Numerics.Complex dividend, System.Numerics.Complex divisor);
static member Divide : System.Numerics.Complex * System.Numerics.Complex -> System.Numerics.Complex
Public Shared Function Divide (dividend As Complex, divisor As Complex) As Complex

Parameters

dividend
Complex

The complex number to be divided.

divisor
Complex

The complex number to divide by.

Returns

The quotient of the division.

Remarks

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

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

Applies to

See also