# Complex.SubtractionComplex.SubtractionComplex.SubtractionComplex.Subtraction Operator

## オーバーロード

 Subtraction(Complex, Complex) Subtraction(Complex, Complex) Subtraction(Complex, Complex) Subtraction(Complex, Complex) 複素数を別の複素数から減算します。Subtracts a complex number from another complex number. Subtraction(Complex, Double) Subtraction(Complex, Double) Subtraction(Complex, Double) Subtraction(Complex, Double) 複素数から倍精度実数を減算します。Subtracts a double-precision real number from a complex number. Subtraction(Double, Complex) Subtraction(Double, Complex) Subtraction(Double, Complex) Subtraction(Double, Complex) 倍精度実数から複素数を減算します。Subtracts a complex number from a double-precision real number.

## 注釈

``````System.Numerics.Complex c1 = new System.Numerics.Complex(6.7, -1.3);
System.Numerics.Complex c2 = new System.Numerics.Complex(1.4, 3.8);
System.Numerics.Complex result = c1 - c2;
Console.WriteLine("{0} - {1} = {2}", c1, c2, result);
// The example displays the following output:
//       (6.7, -1.3); - (1.4, 3.8); = (5.3, -5.1)
``````
``````Dim c1 As New System.Numerics.Complex(6.7, -1.3)
Dim c2 As New System.Numerics.Complex(1.4, 3.8)
Dim result As System.Numerics.Complex = c1 - c2
Console.WriteLine("{0} - {1} = {2}", c1, c2, result)
' The example displays the following output:
'       (6.7, -1.3) - (1.4, 3.8) = (5.3, -5.1)
``````

カスタム演算子をサポートしない言語では、 Subtract代わりに同等のメソッドのグループを呼び出すことができます。Languages that do not support custom operators can call the Subtract equivalent group of methods instead.

## Subtraction(Complex, Complex)Subtraction(Complex, Complex)Subtraction(Complex, Complex)Subtraction(Complex, Complex)

``````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``

#### パラメーター

left
Complex Complex Complex Complex

right
Complex Complex Complex Complex

#### 戻り値

`right` から `left` を減算した結果。The result of subtracting `right` from `left`.

### 注釈

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

カスタム演算子をサポートしない言語では、 Complex.Subtract(Complex, Complex)代わりにメソッドを呼び出すことができます。Languages that do not support custom operators can call the Complex.Subtract(Complex, Complex) method instead.

こちらもご覧ください

## Subtraction(Complex, Double)Subtraction(Complex, Double)Subtraction(Complex, Double)Subtraction(Complex, Double)

``````public:
static System::Numerics::Complex operator -(System::Numerics::Complex left, double right);``````
``public static System.Numerics.Complex operator - (System.Numerics.Complex left, double right);``
``static member ( - ) : System.Numerics.Complex * double -> System.Numerics.Complex``
``Public Shared Operator - (left As Complex, right As Double) As Complex``

#### パラメーター

left
Complex Complex Complex Complex

right
Double Double Double Double

#### 戻り値

`right` から `left` を減算した、複素数としての結果。The result of subtracting `right` from `left`, as a complex number.

### 注釈

(a-c) + bi(a - c) + bi

カスタム演算子をサポートしない言語では、 Complex.Subtract(Complex, Double)代わりにメソッドを呼び出すことができます。Languages that do not support custom operators can call the Complex.Subtract(Complex, Double) method instead.

こちらもご覧ください

## Subtraction(Double, Complex)Subtraction(Double, Complex)Subtraction(Double, Complex)Subtraction(Double, Complex)

``````public:
static System::Numerics::Complex operator -(double left, System::Numerics::Complex right);``````
``public static System.Numerics.Complex operator - (double left, System.Numerics.Complex right);``
``static member ( - ) : double * System.Numerics.Complex -> System.Numerics.Complex``
``Public Shared Operator - (left As Double, right As Complex) As Complex``

#### パラメーター

left
Double Double Double Double

right
Complex Complex Complex Complex

#### 戻り値

`right` から `left` を減算した、複素数としての結果。The result of subtracting `right` from `left`, as a complex number.

### 注釈

(a-c)-di(a - c) - di

カスタム演算子をサポートしない言語では、 Complex.Subtract(Double, Complex)代わりにメソッドを呼び出すことができます。Languages that do not support custom operators can call the Complex.Subtract(Double, Complex) method instead.

こちらもご覧ください