template<size_t HASH_LENGTH>
class etl::pearson< HASH_LENGTH >
Calculates a Pearson hash
- Template Parameters
-
| HASH_LENGTH | The number of elements in the hash. |
Public Types |
|
typedef etl::array< uint8_t, HASH_LENGTH > | value_type |
Public Member Functions |
|
| pearson () |
| | Default constructor.
|
| template<typename TIterator> |
| | pearson (TIterator begin, const TIterator end) |
|
void | reset () |
| | Resets the hash to the initial state.
|
| template<typename TIterator> |
| void | add (TIterator begin, const TIterator end) |
| void | add (uint8_t value_) |
|
value_type | value () const |
| | Gets the hash value.
|
|
| operator value_type () const |
| | Conversion operator to value_type.
|