| Crates.io | uniquetol |
| lib.rs | uniquetol |
| version | 0.1.2-beta |
| created_at | 2025-04-06 03:53:39.054879+00 |
| updated_at | 2025-04-11 04:51:01.428413+00 |
| description | A Rust toolbox for isolating unique values in n-dimensional arrays of imprecise floating-point data within a given tolerance. |
| homepage | |
| repository | https://github.com/Luis-Varona/uniquetol-rs |
| max_upload_size | |
| id | 1622620 |
| size | 40,508 |
uniquetol is a Rust toolbox for isolating unique values in n-dimensional arrays
of imprecise floating-point data within a given tolerance. In the
one-dimensional case, it returns the largest subset in which no pairs of
elements are approximately equal. Here two numbers x and y are said to be
"approximately equal" within an absolute tolerance atol or a relative
tolerance rtol if and only if |x - y| ≤ max(atol, rtol∙max(|x|, |y|)).
This project was inspired by the uniquetol function in MATLAB and NumPy's
unique function in Python.
(CURRENTLY UNDER DEVELOPMENT)