TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result > Class Template Reference

Documentation

template<typename Array, typename Scalar, typename Result>
class TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >

Scaled tensor expression engine.

Template Parameters
AThe Array type

Definition at line 79 of file scal_tsr_engine.h.

Public Types

typedef ScalTsrEngine< Array, Scalar, Result > ScalTsrEngine_
 This class type. More...
 
typedef LeafEngine< ScalTsrEngine_LeafEngine_
 Leaf base class type. More...
 
typedef LeafEngine_::ExprEngine_ ExprEngine_
 Expression engine base class. More...
 
typedef EngineTrait< ScalTsrEngine_ >::array_type array_type
 The left-hand expression type. More...
 
typedef EngineTrait< ScalTsrEngine_ >::value_type value_type
 Tensor value type. More...
 
typedef EngineTrait< ScalTsrEngine_ >::scalar_type scalar_type
 Tile scalar type. More...
 
typedef EngineTrait< ScalTsrEngine_ >::op_base_type op_base_type
 Tile base operation type. More...
 
typedef EngineTrait< ScalTsrEngine_ >::op_type op_type
 Tile operation type. More...
 
typedef EngineTrait< ScalTsrEngine_ >::policy policy
 The result policy type. More...
 
typedef EngineTrait< ScalTsrEngine_ >::dist_eval_type dist_eval_type
 This expression's distributed evaluator type. More...
 
typedef EngineTrait< ScalTsrEngine_ >::size_type size_type
 Size type. More...
 
typedef EngineTrait< ScalTsrEngine_ >::trange_type trange_type
 Tiled range type type. More...
 
typedef EngineTrait< ScalTsrEngine_ >::shape_type shape_type
 Tensor shape type. More...
 
typedef EngineTrait< ScalTsrEngine_ >::pmap_interface pmap_interface
 Process map interface type. More...
 

Public Member Functions

template<typename A , typename S >
 ScalTsrEngine (const ScalTsrExpr< A, S > &expr)
 
shape_type make_shape ()
 Non-permuting shape factory function. More...
 
shape_type make_shape (const Permutation &perm)
 Permuting shape factory function. More...
 
op_type make_tile_op () const
 Non-permuting tile operation factory function. More...
 
template<typename Perm , typename = std::enable_if_t< TiledArray::detail::is_permutation_v<Perm>>>
op_type make_tile_op (const Perm &perm) const
 Permuting tile operation factory function. More...
 
std::string make_tag () const
 Expression identification tag. More...
 

Member Typedef Documentation

◆ array_type

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::array_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::array_type

The left-hand expression type.

Definition at line 90 of file scal_tsr_engine.h.

◆ dist_eval_type

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::dist_eval_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::dist_eval_type

This expression's distributed evaluator type.

Definition at line 104 of file scal_tsr_engine.h.

◆ ExprEngine_

template<typename Array , typename Scalar , typename Result >
typedef LeafEngine_::ExprEngine_ TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::ExprEngine_

Expression engine base class.

Definition at line 86 of file scal_tsr_engine.h.

◆ LeafEngine_

template<typename Array , typename Scalar , typename Result >
typedef LeafEngine<ScalTsrEngine_> TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::LeafEngine_

Leaf base class type.

Definition at line 84 of file scal_tsr_engine.h.

◆ op_base_type

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::op_base_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::op_base_type

Tile base operation type.

Definition at line 98 of file scal_tsr_engine.h.

◆ op_type

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::op_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::op_type

Tile operation type.

Definition at line 100 of file scal_tsr_engine.h.

◆ pmap_interface

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::pmap_interface TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::pmap_interface

Process map interface type.

Definition at line 114 of file scal_tsr_engine.h.

◆ policy

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::policy TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::policy

The result policy type.

Definition at line 102 of file scal_tsr_engine.h.

◆ scalar_type

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::scalar_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::scalar_type

Tile scalar type.

Definition at line 96 of file scal_tsr_engine.h.

◆ ScalTsrEngine_

template<typename Array , typename Scalar , typename Result >
typedef ScalTsrEngine<Array, Scalar, Result> TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::ScalTsrEngine_

This class type.

Definition at line 83 of file scal_tsr_engine.h.

◆ shape_type

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::shape_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::shape_type

Tensor shape type.

Definition at line 112 of file scal_tsr_engine.h.

◆ size_type

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::size_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::size_type

Size type.

Definition at line 108 of file scal_tsr_engine.h.

◆ trange_type

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::trange_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::trange_type

Tiled range type type.

Definition at line 110 of file scal_tsr_engine.h.

◆ value_type

template<typename Array , typename Scalar , typename Result >
typedef EngineTrait<ScalTsrEngine_>::value_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::value_type

Tensor value type.

Definition at line 94 of file scal_tsr_engine.h.

Constructor & Destructor Documentation

◆ ScalTsrEngine()

template<typename Array , typename Scalar , typename Result >
template<typename A , typename S >
TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::ScalTsrEngine ( const ScalTsrExpr< A, S > &  expr)
inline

Definition at line 121 of file scal_tsr_engine.h.

Member Function Documentation

◆ make_shape() [1/2]

template<typename Array , typename Scalar , typename Result >
shape_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::make_shape ( )
inline

Non-permuting shape factory function.

Returns
The result shape

Definition at line 127 of file scal_tsr_engine.h.

◆ make_shape() [2/2]

template<typename Array , typename Scalar , typename Result >
shape_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::make_shape ( const Permutation perm)
inline

Permuting shape factory function.

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

Definition at line 133 of file scal_tsr_engine.h.

◆ make_tag()

template<typename Array , typename Scalar , typename Result >
std::string TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::make_tag ( ) const
inline

Expression identification tag.

Returns
An expression tag used to identify this expression

Definition at line 155 of file scal_tsr_engine.h.

◆ make_tile_op() [1/2]

template<typename Array , typename Scalar , typename Result >
op_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::make_tile_op ( ) const
inline

Non-permuting tile operation factory function.

Returns
The tile operation

Definition at line 140 of file scal_tsr_engine.h.

◆ make_tile_op() [2/2]

template<typename Array , typename Scalar , typename Result >
template<typename Perm , typename = std::enable_if_t< TiledArray::detail::is_permutation_v<Perm>>>
op_type TiledArray::expressions::ScalTsrEngine< Array, Scalar, Result >::make_tile_op ( const Perm &  perm) const
inline

Permuting tile operation factory function.

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

Definition at line 148 of file scal_tsr_engine.h.


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