Documentation
template<typename Arg, typename Scalar, typename Result>
class TiledArray::expressions::ScalEngine< Arg, Scalar, Result >
Scaling expression engine.
- Template Parameters
-
Arg The argument expression engine type
Definition at line 77 of file scal_engine.h.
Public Member Functions | |
template<typename A , typename S > | |
ScalEngine (const ScalExpr< A, S > &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... | |
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
◆ argument_type
typedef EngineTrait<ScalEngine_>::argument_type TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::argument_type |
The argument expression engine type.
Definition at line 88 of file scal_engine.h.
◆ dist_eval_type
typedef EngineTrait<ScalEngine_>::dist_eval_type TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::dist_eval_type |
The distributed evaluator type.
Definition at line 100 of file scal_engine.h.
◆ ExprEngine_
typedef UnaryEngine_::ExprEngine_ TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::ExprEngine_ |
Expression engine base type.
Definition at line 84 of file scal_engine.h.
◆ op_type
typedef EngineTrait<ScalEngine_>::op_type TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::op_type |
The tile operation type.
Definition at line 96 of file scal_engine.h.
◆ pmap_interface
typedef EngineTrait<ScalEngine_>::pmap_interface TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::pmap_interface |
Process map interface type.
Definition at line 110 of file scal_engine.h.
◆ policy
typedef EngineTrait<ScalEngine_>::policy TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::policy |
The result policy type.
Definition at line 98 of file scal_engine.h.
◆ scalar_type
typedef EngineTrait<ScalEngine_>::scalar_type TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::scalar_type |
Tile scalar type.
Definition at line 94 of file scal_engine.h.
◆ ScalEngine_
typedef ScalEngine<Arg, Scalar, Result> TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::ScalEngine_ |
This class type.
Definition at line 80 of file scal_engine.h.
◆ shape_type
typedef EngineTrait<ScalEngine_>::shape_type TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::shape_type |
Shape type.
Definition at line 108 of file scal_engine.h.
◆ size_type
typedef EngineTrait<ScalEngine_>::size_type TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::size_type |
Size type.
Definition at line 104 of file scal_engine.h.
◆ trange_type
typedef EngineTrait<ScalEngine_>::trange_type TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::trange_type |
Tiled range type.
Definition at line 106 of file scal_engine.h.
◆ UnaryEngine_
typedef UnaryEngine<ScalEngine_> TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::UnaryEngine_ |
Unary expression engine base type.
Definition at line 82 of file scal_engine.h.
◆ value_type
typedef EngineTrait<ScalEngine_>::value_type TiledArray::expressions::ScalEngine< Arg, Scalar, Result >::value_type |
The result tile type.
Definition at line 92 of file scal_engine.h.
Constructor & Destructor Documentation
◆ ScalEngine()
|
inline |
Constructor.
- Template Parameters
-
A The argument expression type S The expression scalar type
- Parameters
-
expr The parent expression
Definition at line 122 of file scal_engine.h.
Member Function Documentation
◆ make_shape() [1/2]
|
inline |
Non-permuting shape factory function.
- Returns
- The result shape
Definition at line 128 of file scal_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 136 of file scal_engine.h.
◆ make_tag()
|
inline |
Expression identification tag.
- Returns
- An expression tag used to identify this expression
Definition at line 158 of file scal_engine.h.
◆ make_tile_op() [1/2]
|
inline |
Non-permuting tile operation factory function.
- Returns
- The tile operation
Definition at line 143 of file scal_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 151 of file scal_engine.h.
The documentation for this class was generated from the following file:
- TiledArray/expressions/scal_engine.h