(Simple) Complex Numbers
DOM_COMPLEX is the type of complex numbers with integer, rational, or floating-point components.
Complex numbers of type DOM_COMPLEX have two operands, their real and imaginary part. These are objects of type DOM_FLOAT, DOM_INT, or DOM_RAT. Complex numbers with other components (such as ) are not of domain type DOM_COMPLEX, but DOM_EXPR.
Calling a complex number as a function returns that number unchanged. The arguments of the call are not evaluated.
Objects of type DOM_COMPLEX are essentially written as expressions in rectangular form. The imaginary unit is displayed as I.
Complex numbers can be constructed by typing in the corresponding expression, such as 3+4*I. The keyword for typing the imaginary unit I is I (a capital letter i).