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

Documentation

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 77 of file 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
 

Member Typedef Documentation

◆ first_argument_type

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

Definition at line 82 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 80 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 83 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 88 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 91 of file binary_reduction.h.

◆ operator()() [3/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 101 of file binary_reduction.h.

Here is the call graph for this function:

◆ operator()() [4/4]

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

Definition at line 96 of file binary_reduction.h.


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