Complex.Add(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.
Adds two complex numbers and returns the result.
public:
static System::Numerics::Complex Add(System::Numerics::Complex left, System::Numerics::Complex right);
public static System.Numerics.Complex Add(System.Numerics.Complex left, System.Numerics.Complex right);
static member Add : System.Numerics.Complex * System.Numerics.Complex -> System.Numerics.Complex
Public Shared Function Add (left As Complex, right As Complex) As Complex
Parameters
- left
- Complex
The first complex number to add.
- right
- Complex
The second complex number to add.
Returns
The sum of left and right.
Remarks
The addition of a complex number, a + bi, and a second complex number, c + di, takes the following form:
$(a + c) + (b + d)i$