| 53 | } |
| 54 | |
| 55 | std::vector<int64> Group::group() const { |
| 56 | std::vector<int64> g; |
| 57 | const auto& ix_t = iter_->ix_matrix_; |
| 58 | for (const int d : iter_->group_dims_) { |
| 59 | g.push_back(ix_t(loc_, d)); |
| 60 | } |
| 61 | return g; |
| 62 | } |
| 63 | |
| 64 | TTypes<int64>::UnalignedConstMatrix Group::indices() const { |
| 65 | return TTypes<int64>::UnalignedConstMatrix(&(iter_->ix_matrix_(loc_, 0)), |