TiledArray Namespace Reference

Namespaces

 detail
 
 expressions
 
 python
 

Classes

class  DistArrayVector
 A vector of DistArray objects. More...
 
class  ShapeVector
 
class  Tile
 

Functions

template<typename Tile , typename Policy , typename Op , typename = typename std::enable_if<!TiledArray::detail::is_array< typename std::decay<Op>::type>::value>::type>
auto foreach_inplace (DistArrayVector< Tile, Policy > &arg, Op &&op, bool fence=true)
 
template<typename Tile , typename Policy >
auto norm2 (const DistArrayVector< Tile, Policy > &a) -> decltype(norm2(std::declval< typename DistArrayVector< Tile, Policy >::array_type >()))
 
template<typename Tile , typename Policy >
void zero (DistArrayVector< Tile, Policy > &a)
 
template<typename Tile , typename Policy >
auto dot (const DistArrayVector< Tile, Policy > &a, const DistArrayVector< Tile, Policy > &b)
 
template<typename Tile , typename Policy >
auto inner_product (const DistArrayVector< Tile, Policy > &a, const DistArrayVector< Tile, Policy > &b)
 
template<typename Tile , typename Policy , typename Scalar >
void axpy (DistArrayVector< Tile, Policy > &y, Scalar a, const DistArrayVector< Tile, Policy > &x)
 
template<typename Tile , typename Policy , typename Scalar >
void scale (DistArrayVector< Tile, Policy > &y, Scalar a)
 

Function Documentation

◆ axpy()

template<typename Tile , typename Policy , typename Scalar >
void TiledArray::axpy ( DistArrayVector< Tile, Policy > &  y,
Scalar  a,
const DistArrayVector< Tile, Policy > &  x 
)
inline

◆ dot()

template<typename Tile , typename Policy >
auto TiledArray::dot ( const DistArrayVector< Tile, Policy > &  a,
const DistArrayVector< Tile, Policy > &  b 
)
inline

◆ foreach_inplace()

template<typename Tile , typename Policy , typename Op , typename = typename std::enable_if<!TiledArray::detail::is_array< typename std::decay<Op>::type>::value>::type>
auto TiledArray::foreach_inplace ( DistArrayVector< Tile, Policy > &  arg,
Op &&  op,
bool  fence = true 
)
inline

◆ inner_product()

template<typename Tile , typename Policy >
auto TiledArray::inner_product ( const DistArrayVector< Tile, Policy > &  a,
const DistArrayVector< Tile, Policy > &  b 
)
inline

◆ norm2()

template<typename Tile , typename Policy >
auto TiledArray::norm2 ( const DistArrayVector< Tile, Policy > &  a) -> decltype( norm2(std::declval<typename DistArrayVector<Tile, Policy>::array_type>()))
inline

◆ scale()

template<typename Tile , typename Policy , typename Scalar >
void TiledArray::scale ( DistArrayVector< Tile, Policy > &  y,
Scalar  a 
)
inline

◆ zero()

template<typename Tile , typename Policy >
void TiledArray::zero ( DistArrayVector< Tile, Policy > &  a)
inline