vector_of_arrays.h File Reference
#include <tiledarray.h>
Include dependency graph for vector_of_arrays.h:

Classes

class  TiledArray::detail::dist_subarray_vec< Array >
 global view of a tilewise-round-robin distributed std::vector of Arrays More...
 

Namespaces

 TiledArray
 
 TiledArray::detail
 

Functions

TA::TiledRange TiledArray::detail::prepend_dim_to_trange (std::size_t array_rank, const TiledArray::TiledRange &array_trange, std::size_t block_size=1)
 prepends an extra dimension to a TRange More...
 
template<typename Tile >
TA::SparseShape< float > TiledArray::detail::fuse_vector_of_shapes_tiles (madness::World &global_world, const std::vector< TA::DistArray< Tile, TA::SparsePolicy >> &arrays, const std::size_t array_rank, const TA::TiledRange &fused_trange)
 fuses the SparseShape objects of a tilewise-round-robin distributed vector of Arrays into single SparseShape object, with the vector index forming the first dimension. More...
 
template<typename Tile >
TA::DenseShape TiledArray::detail::fuse_vector_of_shapes_tiles (madness::World &, const std::vector< TA::DistArray< Tile, TA::DensePolicy >> &arrays, const std::size_t array_rank, const TA::TiledRange &fused_trange)
 fuses the DenseShape objects of a tilewise-round-robin distributed vector of Arrays into single DenseShape object, with the vector index forming the first dimension. More...
 
TA::SparseShape< float > TiledArray::detail::subshape_from_fused_tile (const TA::TiledRange &split_trange, const TA::SparsePolicy::shape_type &shape, const std::size_t tile_idx, const std::size_t split_ntiles, const std::size_t tile_size)
 extracts the shape of a slice of a fused array created with fuse_vector_of_arrays More...
 
TA::DenseShape TiledArray::detail::subshape_from_fused_tile (const TA::TiledRange &split_trange, const TA::DensePolicy::shape_type &shape, const std::size_t tile_idx, const std::size_t split_ntiles, const std::size_t tile_size)
 extracts the shape of a subarray of a fused array created with fuse_vector_of_arrays More...
 
template<typename Tile , typename Policy >
TA::DistArray< Tile, Policy > TiledArray::fuse_vector_of_arrays_tiles (madness::World &global_world, const std::vector< TA::DistArray< Tile, Policy >> &array_vec, const std::size_t fused_dim_extent, const TiledArray::TiledRange &array_trange, std::size_t block_size=1)
 fuses a vector of DistArray objects, each with the same TiledRange into a DistArray with 1 more dimensions More...
 
template<typename Tile , typename Policy >
void TiledArray::subarray_from_fused_array (madness::World &local_world, const TA::DistArray< Tile, Policy > &fused_array, std::size_t tile_idx, std::vector< TA::DistArray< Tile, Policy >> &split_arrays, const TA::TiledRange &split_trange)
 extracts a subarray of a fused array created with fuse_vector_of_arrays and creates the array in local_world. More...