cycle

Cycle: modern and safe symbolic mathematics

Build Crate License Milestones

Sketch

Cycle is a symbolic mathematics library based on expression trees that focuses on correct, flexible and comprehensive manipulation of mathematical objects. Cycle can be used to study elementary and advanced mathematics, mostly in applied domains. It is in particular well suited for education and research in many areas, including for example physics, astronomy, biology and artificial intelligence.

Try the online notebook running on WebAssembly.

Usage

To use cycle, you will need Git for cloning and a modern Rust version with Cargo for the compilation and testing,

# Clone the repository
$ git clone https://github.com/hrkz/cycle && cd cycle

# Start the compilation and download dependencies
$ cargo build
$ cargo test # Run the tests (optional)
$ cargo run # Run the interpreter (optional)

or with the crate

[dependencies]
cycle = "0.2.1"

Getting started

An extensive tutorial is currently under construction, but you can read the online documentation for the latest release. Note that the library is still in an early phase and API changes are expected.

Citing

We acknowledge the importance of reproducible research, in particular through open-access software. If you used Cycle, we ask that you cite the project in your work.