Home
last modified time | relevance | path

Searched refs:unique_values (Results 1 – 1 of 1) sorted by relevance

/external/ceres-solver/internal/ceres/
Darray_utils.cc99 std::vector<int> unique_values(array, array + size); in MapValuesToContiguousRange() local
100 std::sort(unique_values.begin(), unique_values.end()); in MapValuesToContiguousRange()
101 unique_values.erase(std::unique(unique_values.begin(), in MapValuesToContiguousRange()
102 unique_values.end()), in MapValuesToContiguousRange()
103 unique_values.end()); in MapValuesToContiguousRange()
106 array[i] = std::lower_bound(unique_values.begin(), in MapValuesToContiguousRange()
107 unique_values.end(), in MapValuesToContiguousRange()
108 array[i]) - unique_values.begin(); in MapValuesToContiguousRange()