26 #ifndef TILEDARRAY_TILE_OP_BINARY_REDUCTION_H__INCLUDED 27 #define TILEDARRAY_TILE_OP_BINARY_REDUCTION_H__INCLUDED 38 template <
typename Left,
typename Right>
43 std::declval<Right>()));
64 result +=
dot(left, right);
74 template <
typename Left,
typename Right>
79 std::declval<Right>()));
107 #endif // TILEDARRAY_TILE_OP_BINARY_REDUCTION_H__INCLUDED void operator()(result_type &result, const result_type &arg) const
const result_type & operator()(const result_type &result) const
Vector inner product tile reduction.
result_type operator()() const
decltype(inner_product(std::declval< Left >(), std::declval< Right >())) result_type
Vector dot product tile reduction.
result_type operator()() const
TiledArray::expressions::ExprTrait< Left >::scalar_type dot(const TiledArray::expressions::Expr< Left > &a1, const TiledArray::expressions::Expr< Right > &a2)
void operator()(result_type &result, const first_argument_type &left, const second_argument_type &right) const
void operator()(result_type &result, const first_argument_type &left, const second_argument_type &right) const
const result_type & operator()(const result_type &result) const
decltype(dot(std::declval< Left >(), std::declval< Right >())) result_type
auto inner_product(const Left &left, const Right &right)
Vector inner product of two tiles.
void operator()(result_type &result, const result_type &arg) const
Right second_argument_type
Right second_argument_type