block_cyclic.h
auto & dims()
Definition: block_cyclic.h:209
const auto & dims() const
Definition: block_cyclic.h:205
BlockCyclicMatrix(const DistArray< Tile, Policy > &array, const blacspp::Grid &grid, size_t MB, size_t NB)
Construct a BlockCyclic matrix from a DistArray.
Definition: block_cyclic.h:188
BlockCyclicMatrix & operator=(BlockCyclicMatrix &&)=default
BlockCyclicMatrix(BlockCyclicMatrix &&)=default
Eigen::Map< const Eigen::Matrix< typename T::value_type, Eigen::Dynamic, Eigen::Dynamic, Storage >, Eigen::AutoAlign > eigen_map(const T &tensor, const std::size_t m, const std::size_t n)
Construct a const Eigen::Map object for a given Tensor object.
Definition: eigen.h:77
KroneckerDeltaTile< _N >::numeric_type min(const KroneckerDeltaTile< _N > &arg)
TensorConstMap< T, Range_, OpResult > make_const_map(const T *const data, const Index &lower_bound, const Index &upper_bound)
Definition: tensor_map.h:98
std::remove_cv_t< Array > block_cyclic_to_array(const BlockCyclicMatrix< typename std::remove_cv_t< Array >::element_type > &matrix, const TiledRange &trange)
Convert a block-cyclic matrix to DistArray.
Definition: block_cyclic.h:325
TensorMap< T, Range_, OpResult > make_map(T *const data, const Index &lower_bound, const Index &upper_bound)
Definition: tensor_map.h:53
BlockCyclicMatrix(madness::World &world, const blacspp::Grid &grid, size_t M, size_t N, size_t MB, size_t NB)
Construct and allocate memory for a BlockCyclic matrix.
Definition: block_cyclic.h:166
Range that references a subblock of another range.
Definition: block_range.h:34
decltype(auto) block(const Index1 &lower_bound, const Index2 &upper_bound)
Constructs a view of the block defined by lower_bound and upper_bound.
Definition: tile.h:423
BlockCyclicMatrix & operator=(const BlockCyclicMatrix &)=default
const auto & dist() const
Definition: block_cyclic.h:204
const auto & local_mat() const
Definition: block_cyclic.h:206
const TiledArray::Range & make_ta_range(const TiledArray::Range &range)
Definition: btas.h:58
size_t owner(size_t I, size_t J) const noexcept
Definition: block_cyclic.h:212
Definition: type_traits.h:71
auto & dist()
Definition: block_cyclic.h:208
Array tensor_from_matrix(const TiledRange &trange) const
Definition: block_cyclic.h:218
auto & local_mat()
Definition: block_cyclic.h:210
BlockCyclicMatrix< typename std::remove_cv_t< Array >::element_type > array_to_block_cyclic(const Array &array, const blacspp::Grid &grid, size_t MB, size_t NB)
Convert a dense DistArray to block-cyclic storage format.
Definition: block_cyclic.h:308
BlockCyclicMatrix(const BlockCyclicMatrix &)=default
A (hyperrectangular) interval on , space of integer -indices.
Definition: range.h:46