Trait basic_dsp_vector::Stats
source · [−]pub trait Stats<T>: Sized {
fn empty() -> Self;
fn empty_vec(len: usize) -> StatsVec<Self>;
fn invalid() -> Self;
fn merge(stats: &[Self]) -> Self;
fn merge_cols(stats: &[StatsVec<Self>]) -> StatsVec<Self>;
fn add(&mut self, elem: T, index: usize);
}
Expand description
Operations on statistics.
Required Methods
sourcefn merge_cols(stats: &[StatsVec<Self>]) -> StatsVec<Self>
fn merge_cols(stats: &[StatsVec<Self>]) -> StatsVec<Self>
Merges several vectors of statistics into one vector.