#interval #bounds #algebra #window

intervals

A generic interval type with support for open/closed bounds

6 stable releases

Uses old Rust 2015

2.1.0 Feb 21, 2023
2.0.2 Feb 18, 2023
2.0.1 Feb 11, 2023
1.0.1 Sep 25, 2022

#665 in Math

Download history 16/week @ 2024-07-28 64/week @ 2024-09-22 17/week @ 2024-09-29 10/week @ 2024-10-06 44/week @ 2024-10-13 2/week @ 2024-10-20 15/week @ 2024-10-27 7/week @ 2024-11-03

70 downloads per month

Custom license

76KB
1.5K SLoC

intervals (api)

Crates.io

Overview

Generalised types for intervals and partitions thereof.

intervals is oriented towards static-typing. The bounds are all unique types, all operations between instances are exhaustively implemented, and formatting is provided for ease-of-use.

Installation

[dependencies]
intervals = "2.1"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate and adhere to the angularjs commit message conventions (see here).

License

MIT


lib.rs:

Generalised types for intervals and partitions thereof.

intervals is oriented towards static-typing. The bounds are all unique types, all operations between instances are exhaustively implemented, and formatting is provided for ease-of-use.

Dependencies

~93–310KB