TiledArray::TraceReduction< Tile > Class Template Reference

Documentation

template<typename Tile>
class TiledArray::TraceReduction< Tile >

Tile trace reduction.

This reduction operation is used to sum the hyper-diagonal elements of a tile.

Template Parameters
TileThe tile type

Definition at line 107 of file unary_reduction.h.

Public Types

using result_type = result_of_trace_t< Tile >
 
typedef Tile argument_type
 

Public Member Functions

result_type operator() () const
 
const result_typeoperator() (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::TraceReduction< Tile >::argument_type

Definition at line 111 of file unary_reduction.h.

◆ result_type

template<typename Tile >
using TiledArray::TraceReduction< Tile >::result_type = result_of_trace_t<Tile>

Definition at line 110 of file unary_reduction.h.

Member Function Documentation

◆ operator()() [1/4]

template<typename Tile >
result_type TiledArray::TraceReduction< Tile >::operator() ( ) const
inline

Definition at line 116 of file unary_reduction.h.

◆ operator()() [2/4]

template<typename Tile >
const result_type& TiledArray::TraceReduction< Tile >::operator() ( const result_type result) const
inline

Definition at line 119 of file unary_reduction.h.

◆ operator()() [3/4]

template<typename Tile >
void TiledArray::TraceReduction< Tile >::operator() ( result_type result,
const argument_type arg 
) const
inline

Definition at line 129 of file unary_reduction.h.

Here is the call graph for this function:

◆ operator()() [4/4]

template<typename Tile >
void TiledArray::TraceReduction< Tile >::operator() ( result_type result,
const result_type arg 
) const
inline

Definition at line 124 of file unary_reduction.h.


The documentation for this class was generated from the following file: