32 std::fill(std::begin(_indices), std::end(_indices), index);
39 for (int32_t i = 0; i < idx.
rank(); ++i)
void resize(size_t new_size) noexcept
resize to given new size
Index & resize(int32_t size)
resize index to given dimension number
Index & fill(int32_t index)
fill all axis with index
int32_t & at(int32_t axis)
return position on given axis
std::ostream & operator<<(std::ostream &s, const Index &idx)