Complex.Subtraction(Complex, Complex) Operator

Definition

Subtracts a complex number from another 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 value to subtract from (the minuend).

right
Complex

The value to subtract (the subtrahend).

Returns

The result of subtracting right from left.

Remarks

The subtraction of a complex number, c + di, from another complex number, a + bi, takes the following form:

$(a - c) + (b - d)i$

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

Applies to

See also