2 releases
0.1.1 | Oct 24, 2020 |
---|---|
0.1.0 | Oct 24, 2020 |
#1746 in Data structures
27 downloads per month
11KB
241 lines
Anat
A library to represent natural numbers as well-founded sets for the rust and python programming language.Installation
Rust
- install the latest version of the rust toolchain: https://www.rust-lang.org/tools/install
- create a new rust project with
cargo new <name>
or use an existing one - add
anat = 1.0.1
to your project'sCargo.toml
Python
- install python (try anaconda maybe?: https://www.anaconda.com/products/individual)
- include the python file inside your project and import it (pip upload will come soon probably)
Disclaimer
Creating or using numbers above 1000 is strongly discouraged as the memory representation of these numbers is highly inefficient.
My window manager (Arch + BSWPM, i7 5930k + 16GB ram) freezes between 1000-10000.