|
HPCombi
High Performance Combinatorics in C++ using vector instructions v1.0.1
|
The last difference between two HPCombi::epu8. More...
#include <epu8.hpp>
The last difference between two HPCombi::epu8.
| a,b | : two HPCombi::epu8 |
| bound | : a size_t |
a[i] and b[i] differ, 16 if there is no differences before bound. last_diff(a, b) returns 11, last_diff(a, b, 3) returns 16, last_diff(a, b, 4) returns 3, last_diff(a, b, 7) returns 3. bound is assumed to be smaller or equal than 16