uniquetol

Crates.iouniquetol
lib.rsuniquetol
version0.1.2-beta
created_at2025-04-06 03:53:39.054879+00
updated_at2025-04-11 04:51:01.428413+00
descriptionA Rust toolbox for isolating unique values in n-dimensional arrays of imprecise floating-point data within a given tolerance.
homepage
repositoryhttps://github.com/Luis-Varona/uniquetol-rs
max_upload_size
id1622620
size40,508
Luis M. B. Varona (Luis-Varona)

documentation

README

uniquetol-rs

Build Status

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)

Commit count: 24

cargo fmt