pub fn select_n<T: Copy>(which: &[usize], cases: &[&[T]]) -> Vec<T>
select_n: element i comes from cases[which[i]] (which is a scalar or has the shape of the cases). Out-of-range indices are clamped.
select_n
i
cases[which[i]]
which