Imaginary<T>.Subtract Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Subtract( | Subtracts an imaginary number from a real number. |
Subtract( | Subtracts a real number from an imaginary number. |
Subtract( | Subtracts two imaginary numbers. |
Subtract(T, Imaginary<T>)
Subtracts an imaginary number from a real number.
public static Complex<T> Subtract(
T a,
Imaginary<T> z
)
Parameters
Return Value
Complex<T>A complex number that equals the real number minus the complex number.
Remarks
This method is equivalent to the Subtraction(T, Imaginary<T>). It is provided for languages that do not support operator overloading.
Subtract(Imaginary<T>, T)
Subtracts a real number from an imaginary number.
public static Complex<T> Subtract(
Imaginary<T> z,
T a
)
Parameters
Return Value
Complex<T>A complex number that equals the imaginary number minus the real number.
Remarks
This method is equivalent to the Subtraction(Imaginary<T>, T). It is provided for languages that do not support operator overloading.
Subtract(Imaginary<T>, Imaginary<T>)
Subtracts two imaginary numbers.
public static Imaginary<T> Subtract(
Imaginary<T> z1,
Imaginary<T> z2
)
Parameters
Return Value
Imaginary<T>An imaginary number that is the difference between the two operands.
Remarks
This method is equivalent to the Subtraction(Imaginary<T>, Imaginary<T>). It is provided for languages that do not support operator overloading.