Adds a complex number to a real number.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Complex<T> Add(
T a,
Complex<T> z
)
Public Shared Function Add (
a As T,
z As Complex(Of T)
) As Complex(Of T)
public:
static Complex<T> Add(
T a,
Complex<T> z
)
static member Add :
a : 'T *
z : Complex<'T> -> Complex<'T>
Parameters
- a
- Type: T
A real number number. - z
- Type: Extreme.MathematicsComplexT
A complex number.
Return Value
Type:
ComplexTA complex number that is the sum
of the two operands.
This method is equivalent to the
Addition(T, ComplexT). It is provided for languages
that do not support operator overloading.
Reference