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

Namespaces

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

Functions

template<typename Tile , typename Policy >
TA::DistArray< Tile, Policy > mpqc::math::create_diagonal_array_from_eigen (madness::World &world, const TA::TiledRange1 &trange1, const TA::TiledRange1 &trange2, typename Tile::numeric_type val)
 
template<typename Tile , typename Scalar , std::enable_if_t< TA::detail::is_scalar_v< Scalar >> * = nullptr>
void mpqc::math::make_diagonal_tile (Tile &tile, Scalar val)
 
template<typename T >
void mpqc::math::make_diagonal_tile (TA::Tile< DecomposedTensor< T >> &tile, T val)
 
template<typename Tile , typename Policy >
TiledArray::DistArray< Tile, typename std::enable_if< std::is_same< Policy, TA::SparsePolicy >::value, TA::SparsePolicy >::type > mpqc::math::create_diagonal_matrix (TiledArray::DistArray< Tile, Policy > const &model, double val)
 
template<typename Tile , typename Policy >
TiledArray::DistArray< Tile, typename std::enable_if< std::is_same< Policy, TA::DensePolicy >::value, TA::DensePolicy >::type > mpqc::math::create_diagonal_matrix (TiledArray::DistArray< Tile, Policy > const &model, double val)
 
template<typename Tile >
TiledArray::DistArray< Tile, TiledArray::SparsePolicy > mpqc::math::diagonal_matrix (TiledArray::TiledRange const &trange, double val, madness::World &world)
 takes a TiledArray::TiledRange and a value and returns a diagonal matrix. More...
 
template<typename T , unsigned int N, typename Tile >
TiledArray::Array< T, N, Tile, TiledArray::DensePolicy > mpqc::math::create_diagonal_matrix (TiledArray::Array< T, N, Tile, TiledArray::DensePolicy > const &model, double val)