mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 13:49:16 +02:00
37 lines
592 B
Markdown
37 lines
592 B
Markdown
# Complex Library
|
|
|
|
The `(scheme complex)` library exports procedures which are typically only useful with non-real numbers.
|
|
|
|
For more information see the [R<sup>7</sup>RS Scheme Specification](../../r7rs.pdf).
|
|
|
|
- [`angle`](#angle)
|
|
- [`imag-part`](#imag-part)
|
|
- [`magnitude`](#magnitude)
|
|
- [`make-polar`](#make-polar)
|
|
- [`make-rectangular`](#make-rectangular)
|
|
- [`real-part`](#real-part)
|
|
|
|
# angle
|
|
|
|
(angle z)
|
|
|
|
# imag-part
|
|
|
|
(imag-part x)
|
|
|
|
# magnitude
|
|
|
|
(magnitude z)
|
|
|
|
# make-polar
|
|
|
|
(make-polar x y)
|
|
|
|
# make-rectangular
|
|
|
|
(make-rectangular x y)
|
|
|
|
# real-part
|
|
|
|
(real-part x)
|
|
|