ComplexAdd(x,y)
语法
Result = ComplexAdd(x,y)
说明
返回复数x与y的和(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)