61 for (
typename T::const_iterator it = data.begin(); it != data.end(); ++it) {
66 sort(sorted.begin(), sorted.end(), [&data](
const Index a,
const Index b) {
67 return data[a] < data[b];
This file contains the definition of Array.
INDEX Index
The type to use for all integer numbers and indices.
void get_sorted_indexes(ArrayOfIndex &sorted, const T &data)
get_sorted_indexes