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> operator +(
T a,
Complex<T> z
)
Public Shared Operator + (
a As T,
z As Complex(Of T)
) As Complex(Of T)
public:
static Complex<T> operator +(
T a,
Complex<T> z
)
static let inline (+)
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.
If you are using a language that does not
support operator overloading, use the
Add(T, ComplexT) method instead.
Reference