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.100 x86.64 (2263, heads/master-c810485bc6, Mar 4 2024 09:10:57)