pub trait FillWithWeighted<D, W> {
    // Required method
    fn fill_with_weighted(&mut self, data: D, weight: W);
}
Expand description

Fill a histogram with some weighted value.

As FillWith, but for instances where the value may also be weighted. For example, see WeightedMean.

Required Methods§

source

fn fill_with_weighted(&mut self, data: D, weight: W)

Fill a histogram with some weighted value.

Implementors§

source§

impl<T, W, O, C> FillWithWeighted<T, W> for WeightedMean<T, W, O, C>where T: Copy + AddAssign + Mul<W, Output = T> + Mul<T, Output = T>, W: Copy + AddAssign + Mul<W, Output = W>, C: AddAssign + One,