cyclone/docs/api/scheme/complex.md
Justin Ethier 1df3dacb61 Sync
2016-10-04 00:26:49 -04:00

42 lines
625 B
Markdown

---
layout: main
title: API
---
# 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)