tiled_range.h
std::enable_if_t< detail::is_integral_range_v< Index >, range_type > make_tile_range(const Index &index) const
Construct a range for the tile indexed by the given index.
Definition: tiled_range.h:207
range_type make_tile_range(const std::initializer_list< Integer > &index) const
Construct a range for the tile indexed by the given index.
Definition: tiled_range.h:246
std::enable_if_t< detail::is_integral_range_v< Index >, range_type > tile(const Index &index) const
Construct a range for the tile indexed by the given index.
Definition: tiled_range.h:195
void swap(TiledRange &r0, TiledRange &r1)
Exchange the content of the two given TiledRange's.
Definition: tiled_range.h:334
TiledRange(const TRange1Range &range_of_trange1s)
Definition: tiled_range.h:90
void serialize(const Archive &ar) const
Definition: tiled_range.h:310
Permutation of a sequence of objects indexed by base-0 indices.
Definition: permutation.h:130
bool operator==(const BlockRange &r1, const BlockRange &r2)
BlockRange equality comparison.
Definition: block_range.h:433
range_type tile(const index1_type &i) const
Constructs a range for the tile indexed by the given ordinal index.
Definition: tiled_range.h:173
Definition: tile.h:35
std::enable_if_t< detail::is_integral_range_v< Index >, typename range_type::index > element_to_tile(const Index &index) const
Convert an element index to a tile index.
Definition: tiled_range.h:259
TiledRange_ & operator*=(const Permutation &p)
In place permutation of this range.
Definition: tiled_range.h:137
TiledRange_ & operator=(const TiledRange_ &other)
TiledRange assignment operator.
Definition: tiled_range.h:129
const TiledRange1 & dim(std::size_t d) const
Accessor of the tiled range for one of the dimensions.
Definition: tiled_range.h:283
constexpr bool operator!=(const DenseShape &a, const DenseShape &b)
Definition: dense_shape.h:382
TiledRange(const std::initializer_list< TiledRange1 > &list)
Constructed with an initializer_list of TiledRange1's.
Definition: tiled_range.h:115
Definition: tile.h:33
range_type make_tile_range(const index1_type &i) const
Construct a range for the tile indexed by the given ordinal index.
Definition: tiled_range.h:180
std::array< T, N > operator*(const Permutation &, const std::array< T, N > &)
Permute a std::array.
Definition: permutation.h:492
bool includes(const Index &index) const
Check the coordinate to make sure it is within the range.
Definition: range.h:826
range_type tile(const std::initializer_list< Integer > &index) const
Construct a range for the tile indexed by the given index.
Definition: tiled_range.h:234
std::ostream & operator<<(std::ostream &os, const DistArray< Tile, Policy > &a)
Add the tensor to an output stream.
Definition: dist_array.h:1602
Definition: array_impl.cpp:28
range_type::ordinal_type ordinal_type
Definition: tiled_range.h:67
Definition: tiled_range1.h:50
TiledRange(const std::initializer_list< std::initializer_list< Integer >> &list)
Constructs using a list of lists convertible to TiledRange1.
Definition: tiled_range.h:104
A (hyperrectangular) interval on , space of integer -indices.
Definition: range.h:46