sample::slice
pub fn map_in_place<F, M>(a: &mut [F], map: M) where M: FnMut(F) -> F, F: Frame,
Mutate every element in the slice with the given function.