1 #ifndef MPQC_ARRAY_TILE_HPP
2 #define MPQC_ARRAY_TILE_HPP
4 #include "mpqc/range.hpp"
5 #include "mpqc/array/forward.hpp"
11 std::vector<range> extents;
14 std::vector<range> subset(
const std::vector<range> &ranges)
const {
16 for (
int i = 0; i < ranges.size(); ++i) {
17 range r = range::intersection(ranges[i], this->extents[i]);
18 if (!r.size())
return std::vector<range>();