Expression Templates Library (ETL)
Functions
dot.hpp File Reference

Standard implementation of the "dot" reduction. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename A , typename B >
value_t< A > etl::impl::standard::dot (const A &a, const B &b)
 Compute the dot product of a and b. More...
 

Detailed Description

Standard implementation of the "dot" reduction.

Function Documentation

◆ dot()

template<typename A , typename B >
value_t<A> etl::impl::standard::dot ( const A &  a,
const B &  b 
)

Compute the dot product of a and b.

Parameters
aThe lhs expression
bThe rhs expression
Returns
the sum