array_to_eigen.h File Reference
Include dependency graph for array_to_eigen.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  mpqc::math::mat_to_tile< TA::Tile< DecomposedTensor< T > > >
 
struct  mpqc::math::mat_to_tile< Tile, std::enable_if_t< TA::detail::is_contiguous_tensor_v< Tile > > >
 

Namespaces

 mpqc
 The top-level namespace for all Massively Parallel Quantum Chemistry package.
 
 mpqc::math
 

Typedefs

template<typename T >
using mpqc::math::Matrix = Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor >
 

Functions

template<typename T >
Matrix< T > mpqc::math::tile_to_eigen (TA::Tensor< T > const &t)
 
template<typename T >
Matrix< T > mpqc::math::tile_to_eigen (TA::Tile< DecomposedTensor< T >> const &t)
 
template<typename Tile , typename Policy >
Matrix< typename Tile::value_type > mpqc::math::array_to_eigen (TA::DistArray< Tile, Policy > const &A)
 converts a TiledArray::Array to a row-major Eigen Matrix More...
 
template<typename Tile , typename Policy >
std::vector< Matrix< typename Tile::value_type > > mpqc::math::array_to_eigen (TA::DistArrayVector< Tile, Policy > const &A)
 converts a TiledArray::ArrayVector to a row-major Eigen Matrix More...
 
template<typename Tile , typename Policy >
TA::DistArray< Tile, typename std::enable_if< std::is_same< Policy, TA::SparsePolicy >::value, TA::SparsePolicy >::type > mpqc::math::eigen_to_array (madness::World &world, Matrix< typename Tile::numeric_type > const &M, TA::TiledRange1 tr0, TA::TiledRange1 tr1, double cut=1e-7)
 
template<typename Tile , typename Policy >
TA::DistArray< Tile, typename std::enable_if< std::is_same< Policy, TA::DensePolicy >::value, TA::DensePolicy >::type > mpqc::math::eigen_to_array (madness::World &world, Matrix< typename Tile::numeric_type > const &M, TA::TiledRange1 tr0, TA::TiledRange1 tr1, double cut=1e-7)