TiledArray  0.7.0
TiledArray::InnerProductReduction< Left, Right > Class Template Reference

Vector inner product tile reduction. More...

#include <binary_reduction.h>

Public Types

using result_type = decltype(inner_product(std::declval< Left >(), std::declval< Right >()))
 
typedef Left first_argument_type
 
typedef Right second_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 first_argument_type &left, const second_argument_type &right) const
 

Detailed Description

template<typename Left, typename Right>
class TiledArray::InnerProductReduction< Left, Right >

Vector inner product tile reduction.

This reduction operation computes the vector inner product of a tile.

Template Parameters
LeftThe left-hand tile type
RightThe right-hand tile type

Definition at line 75 of file binary_reduction.h.

Member Typedef Documentation

◆ first_argument_type

template<typename Left , typename Right >
typedef Left TiledArray::InnerProductReduction< Left, Right >::first_argument_type

Definition at line 80 of file binary_reduction.h.

◆ result_type

template<typename Left , typename Right >
using TiledArray::InnerProductReduction< Left, Right >::result_type = decltype(inner_product(std::declval<Left>(), std::declval<Right>()))

Definition at line 79 of file binary_reduction.h.

◆ second_argument_type

template<typename Left , typename Right >
typedef Right TiledArray::InnerProductReduction< Left, Right >::second_argument_type

Definition at line 81 of file binary_reduction.h.

Member Function Documentation

◆ operator()() [1/4]

template<typename Left , typename Right >
result_type TiledArray::InnerProductReduction< Left, Right >::operator() ( ) const
inline

Definition at line 86 of file binary_reduction.h.

◆ operator()() [2/4]

template<typename Left , typename Right >
const result_type& TiledArray::InnerProductReduction< Left, Right >::operator() ( const result_type result) const
inline

Definition at line 89 of file binary_reduction.h.

◆ operator()() [3/4]

template<typename Left , typename Right >
void TiledArray::InnerProductReduction< Left, Right >::operator() ( result_type result,
const result_type arg 
) const
inline

Definition at line 92 of file binary_reduction.h.

◆ operator()() [4/4]

template<typename Left , typename Right >
void TiledArray::InnerProductReduction< Left, Right >::operator() ( result_type result,
const first_argument_type left,
const second_argument_type right 
) const
inline

Definition at line 97 of file binary_reduction.h.

Here is the call graph for this function:

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