ComplexAdd(x,y)

Syntax

Result = ComplexAdd(x,y)

Description

Returns the result (x+y) of the addition to complex number x and another y.

Data type

x : Complex type (Complex)

 y : Complex type (Complex)

Result : Complex type (Complex)

Example of use

Dim a As Complex, b As Complex, c As Complex
a = ComplexSet(1.5, 2.0)
b = ComplexSet(0.5, 3.5)
c = ComplexAdd(a, b)