pub fn calculate_peak<T>(slice: &[T]) -> f64where T: Transcendental + PartialOrd,
Calculate peak of slice
slice
The peak absolute value