Skip to content

num::group_by

Defined in header <stats/selection.hpp>

template <typename Key>
auto group_by(idx count, Key &&key);

Group indices by key: the distinct keys in order of appearance, and each index's key position.