TiledArray::SquaredNormReduction< Tile > Class Template Reference
Documentation
template<typename Tile>
class TiledArray::SquaredNormReduction< Tile >
Squared norm tile reduction.
This reduction operation is used to sum the square of all elements of a tile.
- Template Parameters
-
Tile The tile type
Definition at line 142 of file unary_reduction.h.
Public Types | |
using | result_type = decltype(squared_norm(std::declval< Tile >())) |
typedef Tile | argument_type |
Public Member Functions | |
result_type | operator() () const |
const result_type & | operator() (const result_type &result) const |
void | operator() (result_type &result, const result_type &arg) const |
void | operator() (result_type &result, const argument_type &arg) const |
Member Typedef Documentation
◆ argument_type
template<typename Tile >
typedef Tile TiledArray::SquaredNormReduction< Tile >::argument_type |
Definition at line 146 of file unary_reduction.h.
◆ result_type
template<typename Tile >
using TiledArray::SquaredNormReduction< Tile >::result_type = decltype(squared_norm(std::declval<Tile>())) |
Definition at line 145 of file unary_reduction.h.
Member Function Documentation
◆ operator()() [1/4]
template<typename Tile >
|
inline |
Definition at line 151 of file unary_reduction.h.
◆ operator()() [2/4]
template<typename Tile >
|
inline |
Definition at line 154 of file unary_reduction.h.
◆ operator()() [3/4]
template<typename Tile >
|
inline |
◆ operator()() [4/4]
template<typename Tile >
|
inline |
Definition at line 159 of file unary_reduction.h.
The documentation for this class was generated from the following file:
- TiledArray/tile_op/unary_reduction.h