Trait basic_dsp_vector::Stats
source · pub trait Stats<T>: Sized {
// Required methods
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.
Object Safety§
This trait is not object safe.