C_COMPLEX

Composes a complex number[1] from its real and imaginary parts.

Syntax #1:

C_COMPLEX(real part:Number {, imaginary part:Number})

Returns the complex number formed from the given real part and optional imaginary part.


Syntax #2:

C_COMPLEX(real part:Number, imaginary part:Number, suffix:Text)

Returns the complex number string formed from the given real part and imaginary part with imaginary number suffix of either "i" or "j".

Revisions:

This function was added in 2.00.

Starting with 2.24, this function may take a single parameter as the real part of the resulting complex number with imaginary part zero.

  1. Weisstein, Eric W. "Complex Number." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/ComplexNumber.html