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

Unified vectorized 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 V , typename L , typename R >
value_t< L > etl::impl::vec::dot_impl (const L &lhs, const R &rhs)
 Compute the dot product of a and b using vectorized code. More...
 
template<typename L , typename R >
value_t< L > etl::impl::vec::dot (const L &lhs, const R &rhs)
 Compute the dot product of a and b. More...
 

Detailed Description

Unified vectorized implementation of the "dot" reduction.

Function Documentation

◆ dot()

template<typename L , typename R >
value_t<L> etl::impl::vec::dot ( const L &  lhs,
const R &  rhs 
)

Compute the dot product of a and b.

Parameters
lhsThe lhs expression
rhsThe rhs expression
Returns
the dot product

◆ dot_impl()

template<typename V , typename L , typename R >
value_t<L> etl::impl::vec::dot_impl ( const L &  lhs,
const R &  rhs 
)

Compute the dot product of a and b using vectorized code.

Parameters
lhsThe lhs expression
rhsThe rhs expression
Returns
the dot product