complex

Complex numbers arise as solutions to quadratic equations whose graph does not intersect the x axis. Their literal syntax is covered in Complex number syntax.

Complex numbers can be taken apart:

real-part ( z -- x )

imaginary-part ( z -- y )

>rect ( z -- x y )

Complex numbers can be constructed from real numbers:

rect> ( x y -- z )

Embedding of real numbers in complex numbers

See also

Complex number syntax

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.99 x86.64 (2192, heads/master-92cfe886c7, Feb 8 2023 09:12:15)