sim-lib-numbers-complex 0.3.0

Complex number domain with arithmetic and scalar promotion edges.
Documentation
1
2
3
4
5
# Multiply complex numbers

Construct the imaginary unit `i` as `#(numbers/Complex v1 0.0 1.0)` and multiply it by
itself. The complex domain computes `i * i = -1`, returned as `-1+0i` -- a real value
built and evaluated through the runtime, not a quoted descriptor.