Complex.Subtract(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.
Subtracts one complex number from another and returns the result.
public:
static System::Numerics::Complex Subtract(System::Numerics::Complex left, System::Numerics::Complex right);
public static System.Numerics.Complex Subtract(System.Numerics.Complex left, System.Numerics.Complex right);
static member Subtract : System.Numerics.Complex * System.Numerics.Complex -> System.Numerics.Complex
Public Shared Function Subtract (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 support custom operators can use the Complex.Subtraction(Complex, Complex) equivalent operator too.