TiledArray::tile_interface::ScalAdd< Result, Left, Right, Scalar, Enabler > Class Template Reference

Documentation

template<typename Result, typename Left, typename Right, typename Scalar, typename Enabler = void>
class TiledArray::tile_interface::ScalAdd< Result, Left, Right, Scalar, Enabler >

Definition at line 220 of file add.h.

Public Types

typedef Result result_type
 Result tile type. More...
 
typedef Left left_type
 Left-hand argument tile type. More...
 
typedef Right right_type
 Right-hand argument tile type. More...
 
typedef Scalar scalar_type
 The scaling factor type. More...
 

Public Member Functions

result_type operator() (const left_type &left, const right_type &right, const scalar_type factor) const
 
template<typename Perm , typename = std::enable_if_t< TiledArray::detail::is_permutation_v<Perm>>>
result_type operator() (const left_type &left, const right_type &right, const scalar_type factor, const Perm &perm) const
 

Member Typedef Documentation

◆ left_type

template<typename Result , typename Left , typename Right , typename Scalar , typename Enabler = void>
typedef Left TiledArray::tile_interface::ScalAdd< Result, Left, Right, Scalar, Enabler >::left_type

Left-hand argument tile type.

Definition at line 226 of file add.h.

◆ result_type

template<typename Result , typename Left , typename Right , typename Scalar , typename Enabler = void>
typedef Result TiledArray::tile_interface::ScalAdd< Result, Left, Right, Scalar, Enabler >::result_type

Result tile type.

Definition at line 225 of file add.h.

◆ right_type

template<typename Result , typename Left , typename Right , typename Scalar , typename Enabler = void>
typedef Right TiledArray::tile_interface::ScalAdd< Result, Left, Right, Scalar, Enabler >::right_type

Right-hand argument tile type.

Definition at line 227 of file add.h.

◆ scalar_type

template<typename Result , typename Left , typename Right , typename Scalar , typename Enabler = void>
typedef Scalar TiledArray::tile_interface::ScalAdd< Result, Left, Right, Scalar, Enabler >::scalar_type

The scaling factor type.

Definition at line 228 of file add.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename Result , typename Left , typename Right , typename Scalar , typename Enabler = void>
result_type TiledArray::tile_interface::ScalAdd< Result, Left, Right, Scalar, Enabler >::operator() ( const left_type left,
const right_type right,
const scalar_type  factor 
) const
inline

Definition at line 230 of file add.h.

◆ operator()() [2/2]

template<typename Result , typename Left , typename Right , typename Scalar , typename Enabler = void>
template<typename Perm , typename = std::enable_if_t< TiledArray::detail::is_permutation_v<Perm>>>
result_type TiledArray::tile_interface::ScalAdd< Result, Left, Right, Scalar, Enabler >::operator() ( const left_type left,
const right_type right,
const scalar_type  factor,
const Perm &  perm 
) const
inline

Definition at line 238 of file add.h.


The documentation for this class was generated from the following file:
  • TiledArray/tile_interface/add.h