TiledArray::ShapeVector< Shape_ > Class Template Reference
Collaboration diagram for TiledArray::ShapeVector< Shape_ >:

Public Types

using base_type = detail::VectorBase< Shape_ >
 
using T = typename base_type::value_type
 
using value_type = typename Shape_::value_type
 

Public Member Functions

 ShapeVector ()=default
 
 ShapeVector (std::size_t i)
 
template<typename... Args, typename = std::enable_if_t< (std::is_same_v<std::remove_reference_t<Args>, T> && ...)>>
 ShapeVector (Args &&..._t)
 
 ShapeVector (const std::vector< T > &t_pack)
 
 ShapeVector (std::vector< T > &&t_pack)
 
template<typename B , typename E >
 ShapeVector (B &&begin, E &&end)
 
template<typename S >
ShapeVector< Shape_ > & operator= (const S &shape)
 
template<typename Op >
ShapeVector transform (const Op &op)
 
value_type threshold ()
 
- Public Member Functions inherited from TiledArray::detail::VectorBase< Shape_ >
 VectorBase ()=default
 
 VectorBase (std::size_t i)
 
 VectorBase (Args &&..._t)
 
 VectorBase (const std::vector< Shape_ > &t_pack)
 
 VectorBase (std::vector< Shape_ > &&t_pack)
 
 VectorBase (B &&begin, E &&end)
 
 operator Shape_ & () &
 
 operator const Shape_ & () const &
 
 operator Shape_ && () &&
 
 operator bool () const
 

Member Typedef Documentation

◆ base_type

template<typename Shape_ >
using TiledArray::ShapeVector< Shape_ >::base_type = detail::VectorBase<Shape_>

◆ T

template<typename Shape_ >
using TiledArray::ShapeVector< Shape_ >::T = typename base_type::value_type

◆ value_type

template<typename Shape_ >
using TiledArray::ShapeVector< Shape_ >::value_type = typename Shape_::value_type

Constructor & Destructor Documentation

◆ ShapeVector() [1/6]

template<typename Shape_ >
TiledArray::ShapeVector< Shape_ >::ShapeVector ( )
default

◆ ShapeVector() [2/6]

template<typename Shape_ >
TiledArray::ShapeVector< Shape_ >::ShapeVector ( std::size_t  i)
inline

◆ ShapeVector() [3/6]

template<typename Shape_ >
template<typename... Args, typename = std::enable_if_t< (std::is_same_v<std::remove_reference_t<Args>, T> && ...)>>
TiledArray::ShapeVector< Shape_ >::ShapeVector ( Args &&...  _t)
inline

◆ ShapeVector() [4/6]

template<typename Shape_ >
TiledArray::ShapeVector< Shape_ >::ShapeVector ( const std::vector< T > &  t_pack)
inline

◆ ShapeVector() [5/6]

template<typename Shape_ >
TiledArray::ShapeVector< Shape_ >::ShapeVector ( std::vector< T > &&  t_pack)
inline

◆ ShapeVector() [6/6]

template<typename Shape_ >
template<typename B , typename E >
TiledArray::ShapeVector< Shape_ >::ShapeVector ( B &&  begin,
E &&  end 
)
inline

Member Function Documentation

◆ operator=()

template<typename Shape_ >
template<typename S >
ShapeVector<Shape_>& TiledArray::ShapeVector< Shape_ >::operator= ( const S &  shape)
inline

◆ threshold()

template<typename Shape_ >
value_type TiledArray::ShapeVector< Shape_ >::threshold ( )
inline
Returns
minimum value of threshold of elements

◆ transform()

template<typename Shape_ >
template<typename Op >
ShapeVector TiledArray::ShapeVector< Shape_ >::transform ( const Op &  op)
inline

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