Imaginary<T>.Addition 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
Addition( | Adds an imaginary number to a complex number. |
Addition( | Adds an imaginary number to a real number. |
Addition( | Adds an imaginary number to a real number. |
Addition( | Adds an imaginary number to a complex number. |
Addition( | Adds two complex numbers. |
Addition(Complex<T>, Imaginary<T>) Operator
Adds an imaginary number to a complex number.
public static Complex<T> operator +(
Complex<T> z1,
Imaginary<T> z
)
Parameters
Return Value
Complex<T>A complex number that is the sum of the two operands.
Remarks
If you are using a language that does not support operator overloading, use the staticAdd(T, Imaginary<T>) method instead.
Addition(T, Imaginary<T>) Operator
Adds an imaginary number to a real number.
public static Complex<T> operator +(
T a,
Imaginary<T> z
)
Parameters
Return Value
Complex<T>A complex number that is the sum of the two operands.
Remarks
If you are using a language that does not support operator overloading, use the staticAdd(T, Imaginary<T>) method instead.
Addition(Imaginary<T>, T) Operator
Adds an imaginary number to a real number.
public static Complex<T> operator +(
Imaginary<T> z,
T a
)
Parameters
Return Value
Complex<T>A complex number that is the sum of the two operands.
Remarks
If you are using a language that does not support operator overloading, use the Add(Imaginary<T>, T) method instead.
Addition(Imaginary<T>, Complex<T>) Operator
Adds an imaginary number to a complex number.
public static Complex<T> operator +(
Imaginary<T> z,
Complex<T> z2
)
Parameters
Return Value
Complex<T>A complex number that is the sum of the two operands.
Remarks
If you are using a language that does not support operator overloading, use the Add(Imaginary<T>, T) method instead.
Addition(Imaginary<T>, Imaginary<T>) Operator
Adds two complex numbers.
public static Imaginary<T> operator +(
Imaginary<T> z1,
Imaginary<T> z2
)
Parameters
Return Value
Imaginary<T>A complex number that is the sum of the two operands.
Remarks
If you are using a language that does not support operator overloading, use the staticAdd(Imaginary<T>, Imaginary<T>) method instead.