6 int64_t _grid_index(
const std::array<int64_t, D>& d,
const std::array<int64_t, D>& i)
9 for (int64_t j = 1; j < D; ++j) {
16 int64_t
grid_index(
const std::array<int64_t, 3>& d,
const std::array<int64_t, 3>& i)
18 return _grid_index<3>(d, i);
20 int64_t
grid_index(
const std::array<int64_t, 2>& d,
const std::array<int64_t, 2>& i)
22 return _grid_index<2>(d, i);
int64_t grid_index(const std::array< int64_t, 3 > &d, const std::array< int64_t, 3 > &i)