TiledArray::expressions::ExprVector< Expr_, typename > Class Template Reference
Collaboration diagram for TiledArray::expressions::ExprVector< Expr_, typename >:

Public Types

using base_type = TiledArray::detail::VectorBase< Expr_ >
 
using T = typename base_type::value_type
 

Public Member Functions

 ExprVector ()=default
 
 ExprVector (const ExprVector &)=default
 
 ExprVector (ExprVector &&)=default
 
 ExprVector (std::size_t i)
 
template<typename... Args, typename = std::enable_if_t< (std::is_same_v<std::remove_reference_t<Args>, T> && ...)>>
 ExprVector (Args &&..._t)
 
 ExprVector (const std::vector< T > &t_pack)
 
 ExprVector (std::vector< T > &&t_pack)
 
template<typename B , typename E >
 ExprVector (B &&begin, E &&end)
 
ExprVector< Expr_ > operator- () const
 
template<typename E >
ExprVectoroperator= (const ExprVector< E > &expr)
 
template<typename E >
ExprVectoroperator= (ExprVector< E > &&expr)
 
ExprVectoroperator= (ExprVector &&expr)
 
ExprVectoroperator= (const ExprVector &expr)
 
template<typename E , typename = enable_if_expression<std::remove_reference_t<E>>>
ExprVectoroperator= (E &&expr)
 
World & default_world () const
 
ExprVectorset_shape (typename EngineParamOverride< typename Expr_::engine_type >::shape_type const &shape)
 
ExprVectorset_shape (ShapeVector< typename EngineParamOverride< typename Expr_::engine_type >::shape_type > const &shapes)
 
template<typename D >
ExprVectoroperator+= (const ExprVector< D > &other)
 Expression plus-assignment operator. More...
 
ExprVectorconj ()
 Expression conjugate applied to each element. More...
 
- Public Member Functions inherited from TiledArray::detail::VectorBase< Expr_ >
 VectorBase ()=default
 
 VectorBase (std::size_t i)
 
 VectorBase (Args &&..._t)
 
 VectorBase (const std::vector< Expr_ > &t_pack)
 
 VectorBase (std::vector< Expr_ > &&t_pack)
 
 VectorBase (B &&begin, E &&end)
 
 operator Expr_ & () &
 
 operator const Expr_ & () const &
 
 operator Expr_ && () &&
 
 operator bool () const
 

Friends

template<typename Tile , typename Policy >
class TiledArray::DistArrayVector
 

Member Typedef Documentation

◆ base_type

template<typename Expr_ , typename = enable_if_expression<Expr_>>
using TiledArray::expressions::ExprVector< Expr_, typename >::base_type = TiledArray::detail::VectorBase<Expr_>

◆ T

template<typename Expr_ , typename = enable_if_expression<Expr_>>
using TiledArray::expressions::ExprVector< Expr_, typename >::T = typename base_type::value_type

Constructor & Destructor Documentation

◆ ExprVector() [1/8]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
TiledArray::expressions::ExprVector< Expr_, typename >::ExprVector ( )
default

◆ ExprVector() [2/8]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
TiledArray::expressions::ExprVector< Expr_, typename >::ExprVector ( const ExprVector< Expr_, typename > &  )
default

◆ ExprVector() [3/8]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
TiledArray::expressions::ExprVector< Expr_, typename >::ExprVector ( ExprVector< Expr_, typename > &&  )
default

◆ ExprVector() [4/8]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
TiledArray::expressions::ExprVector< Expr_, typename >::ExprVector ( std::size_t  i)
inline

◆ ExprVector() [5/8]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
template<typename... Args, typename = std::enable_if_t< (std::is_same_v<std::remove_reference_t<Args>, T> && ...)>>
TiledArray::expressions::ExprVector< Expr_, typename >::ExprVector ( Args &&...  _t)
inline

◆ ExprVector() [6/8]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
TiledArray::expressions::ExprVector< Expr_, typename >::ExprVector ( const std::vector< T > &  t_pack)
inline

◆ ExprVector() [7/8]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
TiledArray::expressions::ExprVector< Expr_, typename >::ExprVector ( std::vector< T > &&  t_pack)
inline

◆ ExprVector() [8/8]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
template<typename B , typename E >
TiledArray::expressions::ExprVector< Expr_, typename >::ExprVector ( B &&  begin,
E &&  end 
)
inline

Member Function Documentation

◆ conj()

template<typename Expr_ , typename = enable_if_expression<Expr_>>
ExprVector& TiledArray::expressions::ExprVector< Expr_, typename >::conj ( )
inline

Expression conjugate applied to each element.

◆ default_world()

template<typename Expr_ , typename = enable_if_expression<Expr_>>
World& TiledArray::expressions::ExprVector< Expr_, typename >::default_world ( ) const
inline

◆ operator+=()

template<typename Expr_ , typename = enable_if_expression<Expr_>>
template<typename D >
ExprVector& TiledArray::expressions::ExprVector< Expr_, typename >::operator+= ( const ExprVector< D > &  other)
inline

Expression plus-assignment operator.

Template Parameters
DThe derived expression type
Parameters
otherThe expression that will be added to this array

◆ operator-()

template<typename Expr_ , typename = enable_if_expression<Expr_>>
ExprVector<Expr_> TiledArray::expressions::ExprVector< Expr_, typename >::operator- ( ) const
inline

◆ operator=() [1/5]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
ExprVector& TiledArray::expressions::ExprVector< Expr_, typename >::operator= ( const ExprVector< Expr_, typename > &  expr)
inline

◆ operator=() [2/5]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
template<typename E >
ExprVector& TiledArray::expressions::ExprVector< Expr_, typename >::operator= ( const ExprVector< E > &  expr)
inline

◆ operator=() [3/5]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
template<typename E , typename = enable_if_expression<std::remove_reference_t<E>>>
ExprVector& TiledArray::expressions::ExprVector< Expr_, typename >::operator= ( E &&  expr)
inline

◆ operator=() [4/5]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
ExprVector& TiledArray::expressions::ExprVector< Expr_, typename >::operator= ( ExprVector< Expr_, typename > &&  expr)
inline

◆ operator=() [5/5]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
template<typename E >
ExprVector& TiledArray::expressions::ExprVector< Expr_, typename >::operator= ( ExprVector< E > &&  expr)
inline

◆ set_shape() [1/2]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
ExprVector& TiledArray::expressions::ExprVector< Expr_, typename >::set_shape ( ShapeVector< typename EngineParamOverride< typename Expr_::engine_type >::shape_type > const &  shapes)
inline

calls set_shape(shape[i]) on member i

Parameters
[in]shapethe vector of shapes
Returns
reference to this

◆ set_shape() [2/2]

template<typename Expr_ , typename = enable_if_expression<Expr_>>
ExprVector& TiledArray::expressions::ExprVector< Expr_, typename >::set_shape ( typename EngineParamOverride< typename Expr_::engine_type >::shape_type const &  shape)
inline

calls set_shape(shape) on each member

Parameters
[in]shapethe shape object to use for each member of this
Returns
reference to this

Friends And Related Function Documentation

◆ TiledArray::DistArrayVector

template<typename Expr_ , typename = enable_if_expression<Expr_>>
template<typename Tile , typename Policy >
friend class TiledArray::DistArrayVector
friend

The documentation for this class was generated from the following file: