pub fn downsample<T>(src: &[T], dst: &mut [T])where
    T: Copy,
Expand description

downsample samples from src into dst with the ratio given by src.len()/dst.len() TODO: doc