HPCombi
High Performance Combinatorics in C++ using vector instructions v1.0.1
Loading...
Searching...
No Matches
common_eval16 Class Reference

Evaluation of a HPCombi::epu8. More...

#include <epu8.hpp>

Detailed Description

Evaluation of a HPCombi::epu8.

Parameters
v: a HPCombi::epu8
Returns
the evaluation, that is the HPCombi::epu8 r such that r[i] is the number of occurrence of i in the input v
Example:
eval16(epu8 { 5, 5, 2, 5, 1, 6,12, 4, 0, 3, 2,11,12,13,14,15});
Returns { 1, 1, 2, 1, 1, 3, 1, 0, 0, 0, 0, 1, 2, 1, 1, 1}
Warning
The entries larger than 15 are ignored

The documentation for this class was generated from the following file: