#symbolic #mathematics #modeling #analysis

bin+lib cycle

modern and safe symbolic mathematics

9 unstable releases (3 breaking)

0.3.0 Oct 9, 2021
0.2.1 Feb 23, 2021
0.1.1 Sep 20, 2020
0.1.0 Aug 26, 2020
0.0.2 Jul 29, 2020

#59 in Math

21 downloads per month

MIT license

105KB
3K SLoC

Cycle: modern and safe symbolic mathematics

Build Crate License Milestones

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.

Sketch

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.3.0"

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.

No runtime deps

Features

  • cycle_lang
  • cycle_num
  • cycle_plot