pub trait HistogramCombine: Sized {
    // Required methods
    fn encapsulating_hist<S>(hists: &[S]) -> Result<Self, HistErrors>
       where S: Borrow<Self>;
    fn align<S>(&self, right: S) -> Result<usize, HistErrors>
       where S: Borrow<Self>;
}
Expand description

Required Methods§

source

fn encapsulating_hist<S>(hists: &[S]) -> Result<Self, HistErrors>
where S: Borrow<Self>,

Create a histogram, which encapsulates the histograms passed
possible errors
  • bin size of histograms is unequal
  • bins do not align
source

fn align<S>(&self, right: S) -> Result<usize, HistErrors>
where S: Borrow<Self>,

Get bin difference between histograms
  • index of bin of self corresponding to the leftest bin of right

Object Safety§

This trait is not object safe.

Implementors§