pub fn windowed_mean<T, const N: usize>( buffer: &RingBuffer<T, N>, window_len: usize, ) -> Twhere T: PrimInt,
Calculate the mean of the last window_len values inside buffer.
window_len
buffer
See mean for details.
mean