cyclone/docs/api/scheme/complex.md
2016-10-02 16:56:00 -04:00

30 lines
607 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)