ComplexSet(x,y)

Syntax

z = ComplexSet(x,y)

Description

Sets a complex number to a complex type variable z. Specifies a complex number with a real part x and an imaginary part y. (Sets x and y to z.real and z.imag respectively.)

Data type

x : Double precision floating point type (Double)

y : Double precision floating point type (Double)

z : Complex type (Complex)

Example of use

Dim a as Complex
a = ComplexSet(1.5, 2.0)