41 std::iota(map.
begin(), map.
end(), start);
47 std::iota(map.
begin(), map.
end(), start);
54 std::iota(map.begin(), map.end(), start);
labelList identity(const label len, label start=0)
Return an identity map of the given length with (map[i] == i), works like std::iota() but returning a...
iterator begin() noexcept
Return an iterator to begin traversing the UList.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const labelList emptyLabelList
A zero-sized list of labels.
iterator end() noexcept
Return an iterator to end traversing the UList.
List< label > labelList
A List of labels.