num::gather¶ Defined in header <linear/matrix_utils.hpp> template <typename T> array<T> gather(view<const T> input, view<const idx> indices); Copy the indexed input entries into a compact vector.