25#ifndef DMRPP_CHUNK_ODOMETER_H_
26#define DMRPP_CHUNK_ODOMETER_H_
32using shape = std::vector<unsigned long long>;
79 d_shape(std::move(chunk_shape)), d_array_shape(std::move(array_shape))
90 d_indices.resize(d_shape.size(), 0);
107 auto si = d_shape.rbegin();
108 auto ai = d_array_shape.rbegin();
109 for (
auto i = d_indices.rbegin(), e = d_indices.rend(); i != e; ++i, ++si, ++ai) {
DmrppChunkOdometer(shape chunk_shape, shape array_shape)
const shape & indices() const noexcept