[−][src]Trait basic_dsp_vector::PreciseStats
A trait for statistics which allows to add new values in a way so that the numerical uncertainty has less impact on the final results.
Required methods
fn add_prec(&mut self, elem: T, index: usize, sumc: &mut T, rmsc: &mut T)
Adds a new values to the statistics using the Kahan summation algorithm described here: https://en.wikipedia.org/wiki/Kahan_summation_algorithm
Implementors
impl<T> PreciseStats<Complex<T>> for Statistics<Complex<T>> where
T: RealNumber,
[src]
T: RealNumber,
fn add_prec(
&mut self,
elem: Complex<T>,
index: usize,
sumc: &mut Complex<T>,
rmsc: &mut Complex<T>
)
[src]
&mut self,
elem: Complex<T>,
index: usize,
sumc: &mut Complex<T>,
rmsc: &mut Complex<T>
)
impl<T> PreciseStats<T> for Statistics<T> where
T: RealNumber,
[src]
T: RealNumber,