|
HPCombi
High Performance Combinatorics in C++ using vector instructions v1.0.1
|
The first difference between two HPCombi::epu8. More...
#include <epu8.hpp>
The first 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. first_diff(a, b) returns 3, first_diff(a, b, 3) returns 16, first_diff(a, b, 4) returns 3, first_diff(a, b, 7) returns 3. bound is assumed to be smaller or equal than 16