Skip to main content

classes

Function classes 

Source
pub fn classes<F>(t: impl Tolerant, x: &[F]) -> Result<Vec<u32>, Error>
where F: Float,
Expand description

The position of the earliest item of each item’s class within tolerance t. When every item equals a whole number below whole_limit(t), a class holds the items equal to one whole number. Otherwise, with Exactly, a class holds equal floats, and with a Tolerance, a class is a run that runs gives. Two items of one class therefore needn’t match each other. It checks for an interrupt after about every BETWEEN_CHECKS items, and returns its error at once.