TiledArray::math::UnaryReduceWrapper< Tile, Op > Class Template Reference
Inheritance diagram for TiledArray::math::UnaryReduceWrapper< Tile, Op >:
Collaboration diagram for TiledArray::math::UnaryReduceWrapper< Tile, Op >:
Documentation
template<typename Tile, typename Op>
class TiledArray::math::UnaryReduceWrapper< Tile, Op >
Unary reduction wrapper class that handles lazy tile evaluation.
This allows reduction functors to handle lazy tile types.
- Template Parameters
-
Tile The tile argument type Op The base reduction operation type
Definition at line 41 of file reduce_wrapper.h.
Public Types | |
typedef UnaryReduceWrapper< Tile, Op > | UnaryReduceWrapper_ |
This class type. More... | |
typedef Op::result_type | result_type |
The reduction result type. More... | |
typedef Tile | argument_type |
The reduction argument type. More... | |
Public Member Functions | |
UnaryReduceWrapper () | |
UnaryReduceWrapper (const Op &op) | |
UnaryReduceWrapper (const UnaryReduceWrapper_ &other) | |
UnaryReduceWrapper_ & | operator= (const UnaryReduceWrapper_ &other) |
void | operator() (result_type &result, const argument_type &arg) const |
Member Typedef Documentation
◆ argument_type
template<typename Tile , typename Op >
typedef Tile TiledArray::math::UnaryReduceWrapper< Tile, Op >::argument_type |
The reduction argument type.
Definition at line 47 of file reduce_wrapper.h.
◆ result_type
template<typename Tile , typename Op >
typedef Op::result_type TiledArray::math::UnaryReduceWrapper< Tile, Op >::result_type |
The reduction result type.
Definition at line 46 of file reduce_wrapper.h.
◆ UnaryReduceWrapper_
template<typename Tile , typename Op >
typedef UnaryReduceWrapper<Tile, Op> TiledArray::math::UnaryReduceWrapper< Tile, Op >::UnaryReduceWrapper_ |
This class type.
Definition at line 45 of file reduce_wrapper.h.
Constructor & Destructor Documentation
◆ UnaryReduceWrapper() [1/3]
template<typename Tile , typename Op >
|
inline |
Definition at line 50 of file reduce_wrapper.h.
◆ UnaryReduceWrapper() [2/3]
template<typename Tile , typename Op >
|
inline |
Definition at line 51 of file reduce_wrapper.h.
◆ UnaryReduceWrapper() [3/3]
template<typename Tile , typename Op >
|
inline |
Definition at line 52 of file reduce_wrapper.h.
Member Function Documentation
◆ operator()()
template<typename Tile , typename Op >
|
inline |
Definition at line 78 of file reduce_wrapper.h.
◆ operator=()
template<typename Tile , typename Op >
|
inline |
Definition at line 54 of file reduce_wrapper.h.
The documentation for this class was generated from the following file:
- TiledArray/tile_op/reduce_wrapper.h