|
Expression Templates Library (ETL)
|
Standard implementation of the "sum" reduction. More...

Go to the source code of this file.
Functions | |
| template<typename E > | |
| value_t< E > | etl::impl::standard::sum (const E &input) |
| Compute the sum of the input in the given expression. More... | |
| template<typename E > | |
| value_t< E > | etl::impl::standard::asum (const E &input) |
| Compute the sum of the absolute values in the given expression. More... | |
Standard implementation of the "sum" reduction.
| value_t<E> etl::impl::standard::asum | ( | const E & | input | ) |
Compute the sum of the absolute values in the given expression.
| input | The input expression |
| value_t<E> etl::impl::standard::sum | ( | const E & | input | ) |
Compute the sum of the input in the given expression.
| input | The input expression |
1.8.13