Complex.Multiply(Complex, Complex) Operator

Definition

Multiplies two specified complex numbers.

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 first complex value to multiply.

right
Complex

The second complex value to multiply.

Returns

The product of left and right.

Remarks

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

$(ac - bd) + (ad + bc)i$

Languages that don't support custom operators can call the Complex.Multiply(Complex, Complex) equivalent method instead.

Applies to

See also