ComplexAdd(x,y)

E5071C

ComplexAdd(x,y)

语法

Result = ComplexAdd(x,y)

说明

返回复数xy的和(x+y)。

数据类型

x复数类型(Complex)

 y复数类型(Complex)

结果:复数类型(Complex)

应用实例

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)