Function ac_rms

Source
pub fn ac_rms<T, const N: usize>(buffer: &RingBuffer<T, N>, mean: T) -> f32
where T: PrimInt,
Expand description

Calculate the root-mean-square of buffer, passing in mean as the pre-calculated mean.