TiledArray
0.7.0
|
Squared norm tile reduction. More...
#include <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 |
Squared norm tile reduction.
This reduction operation is used to sum the square of all elements of a tile.
Tile | The tile type |
Definition at line 135 of file unary_reduction.h.
typedef Tile TiledArray::SquaredNormReduction< Tile >::argument_type |
Definition at line 139 of file unary_reduction.h.
using TiledArray::SquaredNormReduction< Tile >::result_type = decltype(squared_norm(std::declval<Tile>())) |
Definition at line 138 of file unary_reduction.h.
|
inline |
Definition at line 144 of file unary_reduction.h.
|
inline |
Definition at line 147 of file unary_reduction.h.
|
inline |
Definition at line 152 of file unary_reduction.h.
|
inline |