num::gather¶ Defined in header <linear/matrix_utils.hpp> template <typename T> array<T> gather(view<const T> input, view<const idx> indices); Read values at given indices: \(y_k = x_{I_k}\).