pub fn ccdf_upper_bound<'a>(&'a self) -> impl Iterator<Item=(u64, f64)>+'a {
        let mut ccdf = self.ccdf();
        let mut cur_f = ccdf.next().map(|(_, f, _)| f);
        ccdf.map(move |(v, f, _)| {
            let prev_f = cur_f.unwrap();
            cur_f = Some(f);
            (v, prev_f)
        })
    }
/// Outputs an upper bound of the complementary cumulative distribution function (ccdf) of the samples.
///
/// You can use these points to plot with linear interpolation and never report intermediate
/// sample values that underestimate quantiles. In other words, all the actual quantile values will be below the
/// reported curve.
Outputs an upper bound of the complementary cumulative distribution function (ccdf) of the samples.
You can use these points to plot with linear interpolation and never report intermediate
sample values that underestimate quantiles. In other words, all the actual quantile values will be below the
reported curve.
Outputs an upper bound of the complementary cumulative distribution function ( ccdf ) of the samples . You can use these points to plot with linear interpolation and never report intermediate sample values that underestimate quantiles . In other words all the actual quantile values will be below the reported curve .
pub fn ccdf_upper_bound<'a>(&'a self) -> impl Iterator<Item=(u64, f64)>+'a {
        let mut ccdf = self.ccdf();
        let mut cur_f = ccdf.next().map(|(_, f, _)| f);
        ccdf.map(move |(v, f, _)| {
            let prev_f = cur_f.unwrap();
            cur_f = Some(f);
            (v, prev_f)
        })
    }
pub fn ccdf_upper_bound < ' a > ( & ' a self ) -> impl Iterator < Item = ( u64 , f64 ) > + ' a { let mut ccdf = self . ccdf ( ) ; let mut cur_f = ccdf . next ( ) . map ( | ( _ , f , _ ) | f ) ; ccdf . map ( move | ( v , f , _ ) | { let prev_f = cur_f . unwrap ( ) ; cur_f = Some ( f ) ; ( v , prev_f ) } ) }
Outputs an upper bound of the complementary cumulative distribution function (ccdf) of the samples.
Outputs an upper bound of the complementary cumulative distribution function ( ccdf ) of the samples .
&'a self
&'a self