[][src]Trait ndhistogram::FillWithWeighted

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

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

pub fn fill_with_weighted(&mut self, data: D, weight: W)[src]

Fill a histogram with some weighted value.

Loading content...

Implementors

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
[src]

Loading content...