Skip to main content

gather

Function gather 

Source
pub fn gather(src: &[f64], indices: &[usize]) -> Vec<f64>
Expand description

Gather: collect src[indices[i\]] into a new vec.