pub fn gather(src: &[f64], index: &[usize]) -> Result<Vec<f64>, SparseError>Expand description
Gather operation.
Collects values from src at the given index positions,
producing a vector of length index.len().
ยงErrors
Returns SparseError::InvalidArgument if any index is out of bounds.