Complex.Divide(Complex, Complex) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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$