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

Vector dot product tile reduction. More...

#include <binary_reduction.h>

Public Types

using result_type = decltype(dot(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::DotReduction< Left, Right >

Vector dot product tile reduction.

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

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

Definition at line 39 of file binary_reduction.h.

Member Typedef Documentation

◆ first_argument_type

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

Definition at line 44 of file binary_reduction.h.

◆ result_type

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

Definition at line 43 of file binary_reduction.h.

◆ second_argument_type

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

Definition at line 45 of file binary_reduction.h.

Member Function Documentation

◆ operator()() [1/4]

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

Definition at line 50 of file binary_reduction.h.

◆ operator()() [2/4]

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

Definition at line 53 of file binary_reduction.h.

◆ operator()() [3/4]

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

Definition at line 56 of file binary_reduction.h.

◆ operator()() [4/4]

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

Definition at line 61 of file binary_reduction.h.

Here is the call graph for this function:

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