Complex<T>.Subtraction Operator
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Subtraction( | Subtracts a complex number from a real number. |
Subtraction( | Subtracts a real number from a complex number. |
Subtraction( | Subtracts two complex numbers. |
Subtraction(T, Complex<T>) Operator
Subtracts a complex number from a real number.
public static Complex<T> operator -(
T a,
Complex<T> z
)
Parameters
Return Value
Complex<T>A complex number that equals the real number minus the complex number.
Remarks
If you are using a language that does not support operator overloading, use the staticSubtract(T, Complex<T>) method instead.
Subtraction(Complex<T>, T) Operator
Subtracts a real number from a complex number.
public static Complex<T> operator -(
Complex<T> z,
T a
)
Parameters
Return Value
Complex<T>A complex number that equals the complex number minus the real number.
Remarks
If you are using a language that does not support operator overloading, use the staticSubtract(Complex<T>, T) method instead.
Subtraction(Complex<T>, Complex<T>) Operator
Subtracts two complex numbers.
public static Complex<T> operator -(
Complex<T> z1,
Complex<T> z2
)
Parameters
Return Value
Complex<T>A complex number that is the difference between the two operands.
Implements
ISubtractionOperators<TSelf, TOther, TResult>.Subtraction(TSelf, TOther)Remarks
If you are using a language that does not support operator overloading, use the staticSubtract(Complex<T>, Complex<T>) method instead.