| 30 | /// Create a vector containing the values from start with length elements |
| 31 | template <typename T> |
| 32 | std::vector<T> Iota(T start, size_t length) { |
| 33 | std::vector<T> result(length); |
| 34 | std::iota(result.begin(), result.end(), start); |
| 35 | return result; |
| 36 | } |
| 37 | |
| 38 | /// Create a vector containing the values from start up to stop |
| 39 | template <typename T> |