#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

#596 in Math

Download history 82/week @ 2024-02-25 2/week @ 2024-03-03 10/week @ 2024-03-10

94 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

~98–335KB