[−][src]Trait basic_dsp::Stats
Operations on statistics.
Required methods
fn empty() -> Self
Creates an empty statistics struct.
fn empty_vec(len: usize) -> ArrayVec<[Self; 16]>
Creates a vector of empty statistics structs.
fn invalid() -> Self
Creates a statistics struct which resembles an invalid result.
fn merge(stats: &[Self]) -> Self
Merges several statistics into one.
fn merge_cols(stats: &[ArrayVec<[Self; 16]>]) -> ArrayVec<[Self; 16]>
Merges several vectors of statistics into one vector.
fn add(&mut self, elem: T, index: usize)
Adds a new value to the statistics, all statistic fields get updated.
Implementors
impl<T> Stats<Complex<T>> for Statistics<Complex<T>> where
T: RealNumber, [src]
T: RealNumber,
fn empty() -> Statistics<Complex<T>>[src]
fn invalid() -> Statistics<Complex<T>>[src]
fn merge(stats: &[Statistics<Complex<T>>]) -> Statistics<Complex<T>>[src]
fn merge_cols(
stats: &[ArrayVec<[Statistics<Complex<T>>; 16]>]
) -> ArrayVec<[Statistics<Complex<T>>; 16]>[src]
stats: &[ArrayVec<[Statistics<Complex<T>>; 16]>]
) -> ArrayVec<[Statistics<Complex<T>>; 16]>
fn empty_vec(len: usize) -> ArrayVec<[Statistics<Complex<T>>; 16]>[src]
fn add(&mut self, elem: Complex<T>, index: usize)[src]
impl<T> Stats<T> for Statistics<T> where
T: RealNumber, [src]
T: RealNumber,
fn empty() -> Statistics<T>[src]
fn invalid() -> Statistics<T>[src]
fn merge(stats: &[Statistics<T>]) -> Statistics<T>[src]
fn merge_cols(
stats: &[ArrayVec<[Statistics<T>; 16]>]
) -> ArrayVec<[Statistics<T>; 16]>[src]
stats: &[ArrayVec<[Statistics<T>; 16]>]
) -> ArrayVec<[Statistics<T>; 16]>