2 releases
| 0.1.1 | Apr 20, 2022 |
|---|---|
| 0.1.0 | Apr 20, 2022 |
#2058 in Math
7KB
128 lines
rust-rampart
Rust implementation of the Haskell Rampart library by Taylor Fausak.
Usage
Add this to your Cargo.toml:
[dependencies]
rampart = "0.1.1"
Examples
let a = Interval::new(2, 3);
let b = Interval::new(3, 7);
let rel = a.relate(&b);
# Relation::Meets