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

BLAS implementation of the "sum" 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 >
value_t< A > etl::impl::blas::sum (const A &)
 Returns the sum of all the values contained in the given expression. More...
 
template<typename A >
value_t< A > etl::impl::blas::asum (const A &)
 Returns the sum of all the absolute values contained in the given expression. More...
 

Detailed Description

BLAS implementation of the "sum" reduction.

Function Documentation

◆ asum()

template<typename A >
value_t<A> etl::impl::blas::asum ( const A &  )

◆ sum()

template<typename A >
value_t<A> etl::impl::blas::sum ( const A &  )