41auto make_lin_space(T start, T stop, std::size_t number,
bool endpoint =
true) {
42 auto const dx = (stop - start) / T(number - endpoint);
44 return std::ranges::views::transform(
45 std::views::iota(std::size_t{0u}, number),
46 [dx, start](std::size_t i) {
return start + T(i) * dx; });