Horizontal sum of a HPCombi::epu8.
More...
#include <epu8.hpp>
Horizontal sum of a HPCombi::epu8.
- Returns
- the horizontal sum of the input
- Example:
horiz_sum(epu8 { 5, 5, 2, 5, 1, 6,12, 4, 0, 3, 2,11,12,13,14,15});
Returns 110
- Warning
- The result is supposed to fit in a
uint8_t
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/HPCombi-1.0.1-build/HPCombi-1.0.1/include/hpcombi/epu8.hpp