std_dev::percentile

Struct Fraction

source
pub struct Fraction {
    pub numerator: u64,
    pub denominator: u64,
}
Expand description

A simplified fraction. This is used to get a percentile from any function in this module.

We use two methods of getting the index in a list. The first one can give a mean of two values it the Self::denominator