TiledArray::expressions::AddEngine< Left, Right, Result > Class Template Reference

Documentation

template<typename Left, typename Right, typename Result>
class TiledArray::expressions::AddEngine< Left, Right, Result >

Addition expression engine.

Template Parameters
LeftThe left-hand expression type
RightThe right-hand expression type
ResultThe result tile type

Definition at line 129 of file add_engine.h.

Public Types

typedef AddEngine< Left, Right, Result > AddEngine_
 This class type. More...
 
typedef BinaryEngine< AddEngine_BinaryEngine_
 Binary expression engine base type. More...
 
typedef BinaryEngine_::ExprEngine_ ExprEngine_
 Expression engine base type. More...
 
typedef EngineTrait< AddEngine_ >::left_type left_type
 The left-hand expression type. More...
 
typedef EngineTrait< AddEngine_ >::right_type right_type
 The right-hand expression type. More...
 
typedef EngineTrait< AddEngine_ >::value_type value_type
 The result tile type. More...
 
typedef EngineTrait< AddEngine_ >::op_base_type op_base_type
 The tile operation type. More...
 
typedef EngineTrait< AddEngine_ >::op_type op_type
 The tile operation type. More...
 
typedef EngineTrait< AddEngine_ >::policy policy
 The result policy type. More...
 
typedef EngineTrait< AddEngine_ >::dist_eval_type dist_eval_type
 The distributed evaluator type. More...
 
typedef EngineTrait< AddEngine_ >::size_type size_type
 Size type. More...
 
typedef EngineTrait< AddEngine_ >::trange_type trange_type
 Tiled range type. More...
 
typedef EngineTrait< AddEngine_ >::shape_type shape_type
 Shape type. More...
 
typedef EngineTrait< AddEngine_ >::pmap_interface pmap_interface
 Process map interface type. More...
 

Public Member Functions

template<typename L , typename R >
 AddEngine (const AddExpr< L, R > &expr)
 Constructor. More...
 
shape_type make_shape () const
 Non-permuting shape factory function. More...
 
shape_type make_shape (const Permutation &perm) const
 Permuting shape factory function. More...
 
const char * make_tag () const
 Expression identification tag. More...
 

Static Public Member Functions

static op_type make_tile_op ()
 Non-permuting tile operation factory function. More...
 
template<typename Perm , typename = std::enable_if_t< TiledArray::detail::is_permutation_v<Perm>>>
static op_type make_tile_op (const Perm &perm)
 Permuting tile operation factory function. More...
 

Member Typedef Documentation

◆ AddEngine_

template<typename Left , typename Right , typename Result >
typedef AddEngine<Left, Right, Result> TiledArray::expressions::AddEngine< Left, Right, Result >::AddEngine_

This class type.

Definition at line 132 of file add_engine.h.

◆ BinaryEngine_

template<typename Left , typename Right , typename Result >
typedef BinaryEngine<AddEngine_> TiledArray::expressions::AddEngine< Left, Right, Result >::BinaryEngine_

Binary expression engine base type.

Definition at line 134 of file add_engine.h.

◆ dist_eval_type

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::dist_eval_type TiledArray::expressions::AddEngine< Left, Right, Result >::dist_eval_type

The distributed evaluator type.

Definition at line 154 of file add_engine.h.

◆ ExprEngine_

template<typename Left , typename Right , typename Result >
typedef BinaryEngine_::ExprEngine_ TiledArray::expressions::AddEngine< Left, Right, Result >::ExprEngine_

Expression engine base type.

Definition at line 136 of file add_engine.h.

◆ left_type

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::left_type TiledArray::expressions::AddEngine< Left, Right, Result >::left_type

The left-hand expression type.

Definition at line 140 of file add_engine.h.

◆ op_base_type

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::op_base_type TiledArray::expressions::AddEngine< Left, Right, Result >::op_base_type

The tile operation type.

Definition at line 148 of file add_engine.h.

◆ op_type

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::op_type TiledArray::expressions::AddEngine< Left, Right, Result >::op_type

The tile operation type.

Definition at line 150 of file add_engine.h.

◆ pmap_interface

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::pmap_interface TiledArray::expressions::AddEngine< Left, Right, Result >::pmap_interface

Process map interface type.

Definition at line 163 of file add_engine.h.

◆ policy

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::policy TiledArray::expressions::AddEngine< Left, Right, Result >::policy

The result policy type.

Definition at line 152 of file add_engine.h.

◆ right_type

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::right_type TiledArray::expressions::AddEngine< Left, Right, Result >::right_type

The right-hand expression type.

Definition at line 142 of file add_engine.h.

◆ shape_type

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::shape_type TiledArray::expressions::AddEngine< Left, Right, Result >::shape_type

Shape type.

Definition at line 161 of file add_engine.h.

◆ size_type

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::size_type TiledArray::expressions::AddEngine< Left, Right, Result >::size_type

Size type.

Definition at line 157 of file add_engine.h.

◆ trange_type

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::trange_type TiledArray::expressions::AddEngine< Left, Right, Result >::trange_type

Tiled range type.

Definition at line 159 of file add_engine.h.

◆ value_type

template<typename Left , typename Right , typename Result >
typedef EngineTrait<AddEngine_>::value_type TiledArray::expressions::AddEngine< Left, Right, Result >::value_type

The result tile type.

Definition at line 146 of file add_engine.h.

Constructor & Destructor Documentation

◆ AddEngine()

template<typename Left , typename Right , typename Result >
template<typename L , typename R >
TiledArray::expressions::AddEngine< Left, Right, Result >::AddEngine ( const AddExpr< L, R > &  expr)
inline

Constructor.

Template Parameters
LThe left-hand argument expression type
RThe right-hand argument expression type
Parameters
exprThe parent expression

Definition at line 171 of file add_engine.h.

Member Function Documentation

◆ make_shape() [1/2]

template<typename Left , typename Right , typename Result >
shape_type TiledArray::expressions::AddEngine< Left, Right, Result >::make_shape ( ) const
inline

Non-permuting shape factory function.

Returns
The result shape

Definition at line 176 of file add_engine.h.

◆ make_shape() [2/2]

template<typename Left , typename Right , typename Result >
shape_type TiledArray::expressions::AddEngine< Left, Right, Result >::make_shape ( const Permutation perm) const
inline

Permuting shape factory function.

Parameters
permThe permutation to be applied to the array
Returns
The result shape

Definition at line 184 of file add_engine.h.

◆ make_tag()

template<typename Left , typename Right , typename Result >
const char* TiledArray::expressions::AddEngine< Left, Right, Result >::make_tag ( ) const
inline

Expression identification tag.

Returns
An expression tag used to identify this expression

Definition at line 207 of file add_engine.h.

◆ make_tile_op() [1/2]

template<typename Left , typename Right , typename Result >
static op_type TiledArray::expressions::AddEngine< Left, Right, Result >::make_tile_op ( )
inlinestatic

Non-permuting tile operation factory function.

Returns
The tile operation

Definition at line 192 of file add_engine.h.

◆ make_tile_op() [2/2]

template<typename Left , typename Right , typename Result >
template<typename Perm , typename = std::enable_if_t< TiledArray::detail::is_permutation_v<Perm>>>
static op_type TiledArray::expressions::AddEngine< Left, Right, Result >::make_tile_op ( const Perm &  perm)
inlinestatic

Permuting tile operation factory function.

Parameters
permThe permutation to be applied to tiles
Returns
The tile operation

Definition at line 200 of file add_engine.h.


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