Imaginary<T>.Add 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
Add( | Adds an imaginary number to a real number. |
Add( | Adds an imaginary number to a real number. |
Add( | Adds two imaginary numbers. |
Add(T, Imaginary<T>)
Adds an imaginary number to a real number.
public static Complex<T> Add(
T a,
Imaginary<T> z
)
Parameters
Return Value
Complex<T>A complex number that is the sum of the two operands.
Remarks
This method is equivalent to the Addition(T, Imaginary<T>). It is provided for languages that do not support operator overloading.
Add(Imaginary<T>, T)
Adds an imaginary number to a real number.
public static Complex<T> Add(
Imaginary<T> z,
T a
)
Parameters
Return Value
Complex<T>A complex number that is the sum of the two operands.
Remarks
This method is equivalent to the Addition(Imaginary<T>, T). It is provided for languages that do not support operator overloading.
Add(Imaginary<T>, Imaginary<T>)
Adds two imaginary numbers.
public static Imaginary<T> Add(
Imaginary<T> z1,
Imaginary<T> z2
)
Parameters
Return Value
Imaginary<T>An imaginary number that is the sum of the two operands.
Remarks
This method is equivalent to the Addition(Imaginary<T>, Imaginary<T>). It is provided for languages that do not support operator overloading.