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 +(
Complex<T> z,
T a
)
Public Shared Operator + (
z As Complex(Of T),
a As T
) As Complex(Of T)
public:
static Complex<T> operator +(
Complex<T> z,
T a
)
static let inline (+)
z : Complex<'T> *
a : 'T : Complex<'T>
Parameters
- z
- Type: Extreme.MathematicsComplexT
A complex number. - a
- Type: T
A real number 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(ComplexT, T) method instead.
Reference