Skip to main content

calculate_rms

Function calculate_rms 

Source
pub fn calculate_rms<T>(slice: &[T]) -> f64
where T: Transcendental + Mul<Output = T> + Sum,
Expand description

Calculate RMS of slice

§Arguments

  • slice - The slice to analyze

§Returns

The RMS value