function hadd(const vec<T, N> &) horizontal¶
template <typename T, size_t N>
KFR_INTRINSIC T hadd(const vec<T, N>& value) Computes the sum of all elements in the vector.
| T | The element type of the vector. |
| N | The number of elements in the vector. |
| value | The input vector. |
| The sum of all vector elements. |
Defined at simd/horizontal.hpp:85