Documentation
template<typename Array, typename Scalar, typename Result>
class TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >
Scaled tensor block expression engine.
- Template Parameters
-
Array The array type Scalar The scaling factor type Result The result tile type
Definition at line 445 of file blk_tsr_engine.h.
Public Member Functions | |
template<typename A , typename S > | |
ScalBlkTsrEngine (const ScalBlkTsrExpr< 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... | |
Protected Attributes | |
scalar_type | factor_ |
container::svector< std::size_t > | lower_bound_ |
Lower bound of the tile block. More... | |
container::svector< std::size_t > | upper_bound_ |
Upper bound of the tile block. More... | |
BipartiteIndexList | indices_ |
BipartitePermutation | perm_ |
The permutation that will be applied to the outer tensor of tensors. More... | |
bool | permute_tiles_ |
std::shared_ptr< pmap_interface > | pmap_ |
The process map for the result tensor. More... | |
shape_type | shape_ |
The shape of the result tensor. More... | |
trange_type | trange_ |
The tiled range of the result tensor. More... | |
World * | world_ |
The world where this expression will be evaluated. More... | |
array_type | array_ |
The array object. More... | |
Member Typedef Documentation
◆ array_type
typedef EngineTrait<ScalBlkTsrEngine_>::array_type TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::array_type |
The input array type.
Definition at line 460 of file blk_tsr_engine.h.
◆ BlkTsrEngineBase_
typedef BlkTsrEngineBase<ScalBlkTsrEngine_> TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::BlkTsrEngineBase_ |
Block tensor base class type.
Definition at line 452 of file blk_tsr_engine.h.
◆ dist_eval_type
typedef EngineTrait<ScalBlkTsrEngine_>::dist_eval_type TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::dist_eval_type |
This expression's distributed evaluator type.
Definition at line 474 of file blk_tsr_engine.h.
◆ ExprEngine_
typedef LeafEngine_::ExprEngine_ TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::ExprEngine_ |
Expression engine base class.
Definition at line 456 of file blk_tsr_engine.h.
◆ LeafEngine_
typedef BlkTsrEngineBase_::LeafEngine_ TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::LeafEngine_ |
Leaf base class type.
Definition at line 454 of file blk_tsr_engine.h.
◆ op_base_type
typedef EngineTrait<ScalBlkTsrEngine_>::op_base_type TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::op_base_type |
Tile base operation type.
Definition at line 468 of file blk_tsr_engine.h.
◆ op_type
typedef EngineTrait<ScalBlkTsrEngine_>::op_type TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::op_type |
Tile operation type.
Definition at line 470 of file blk_tsr_engine.h.
◆ pmap_interface
typedef EngineTrait<ScalBlkTsrEngine_>::pmap_interface TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::pmap_interface |
Process map interface type.
Definition at line 484 of file blk_tsr_engine.h.
◆ policy
typedef EngineTrait<ScalBlkTsrEngine_>::policy TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::policy |
The result policy type.
Definition at line 472 of file blk_tsr_engine.h.
◆ scalar_type
typedef EngineTrait<ScalBlkTsrEngine_>::scalar_type TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::scalar_type |
Tile scalar type.
Definition at line 466 of file blk_tsr_engine.h.
◆ ScalBlkTsrEngine_
typedef ScalBlkTsrEngine<Array, Scalar, Result> TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::ScalBlkTsrEngine_ |
This class type.
Definition at line 450 of file blk_tsr_engine.h.
◆ shape_type
typedef EngineTrait<ScalBlkTsrEngine_>::shape_type TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::shape_type |
Tensor shape type.
Definition at line 482 of file blk_tsr_engine.h.
◆ size_type
typedef EngineTrait<ScalBlkTsrEngine_>::size_type TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::size_type |
Size type.
Definition at line 478 of file blk_tsr_engine.h.
◆ trange_type
typedef EngineTrait<ScalBlkTsrEngine_>::trange_type TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::trange_type |
Tiled range type type.
Definition at line 480 of file blk_tsr_engine.h.
◆ value_type
typedef EngineTrait<ScalBlkTsrEngine_>::value_type TiledArray::expressions::ScalBlkTsrEngine< Array, Scalar, Result >::value_type |
Tensor value type.
Definition at line 464 of file blk_tsr_engine.h.
Constructor & Destructor Documentation
◆ ScalBlkTsrEngine()
|
inline |
Definition at line 503 of file blk_tsr_engine.h.
Member Function Documentation
◆ make_shape() [1/2]
|
inline |
Non-permuting shape factory function.
- Returns
- The result shape
Definition at line 509 of file blk_tsr_engine.h.
◆ make_shape() [2/2]
|
inline |
Permuting shape factory function.
- Parameters
-
perm The permutation to be applied to the array
- Returns
- The result shape
Definition at line 517 of file blk_tsr_engine.h.
◆ make_tag()
|
inline |
Expression identification tag.
- Returns
- An expression tag used to identify this expression
Definition at line 577 of file blk_tsr_engine.h.
◆ make_tile_op() [1/2]
|
inline |
Non-permuting tile operation factory function.
- Returns
- The tile operation
Definition at line 524 of file blk_tsr_engine.h.
◆ make_tile_op() [2/2]
|
inline |
Permuting tile operation factory function.
- Parameters
-
perm The permutation to be applied to tiles
- Returns
- The tile operation
Definition at line 551 of file blk_tsr_engine.h.
Member Data Documentation
◆ array_
|
protected |
The array object.
Definition at line 81 of file leaf_engine.h.
◆ factor_
|
protected |
Definition at line 499 of file blk_tsr_engine.h.
◆ indices_
|
protected |
The index list of this expression; bipartite due to need to support recursive tensors (i.e. Tensor-of-Tensor)
Definition at line 75 of file expr_engine.h.
◆ lower_bound_
|
protected |
Lower bound of the tile block.
Definition at line 169 of file blk_tsr_engine.h.
◆ perm_
|
protected |
The permutation that will be applied to the outer tensor of tensors.
Definition at line 80 of file expr_engine.h.
◆ permute_tiles_
|
protected |
Result tile permutation flag (true
== permute tile)
Definition at line 77 of file expr_engine.h.
◆ pmap_
|
protected |
The process map for the result tensor.
Definition at line 84 of file expr_engine.h.
◆ shape_
|
protected |
The shape of the result tensor.
Definition at line 82 of file expr_engine.h.
◆ trange_
|
protected |
The tiled range of the result tensor.
Definition at line 81 of file expr_engine.h.
◆ upper_bound_
|
protected |
Upper bound of the tile block.
Definition at line 171 of file blk_tsr_engine.h.
◆ world_
|
protected |
The world where this expression will be evaluated.
Definition at line 73 of file expr_engine.h.
The documentation for this class was generated from the following file:
- TiledArray/expressions/blk_tsr_engine.h