Rodin::IndexSetHash struct

Functor for computing a hash value for an IndexSet.

This functor defines an operator() that computes a hash value for an IndexSet by combining the hash values of its elements.

Public functions

auto operator()(const IndexSet& arr) const -> size_t
Computes the hash value for the given IndexSet.

Function documentation

size_t Rodin::IndexSetHash::operator()(const IndexSet& arr) const

Computes the hash value for the given IndexSet.

Parameters
arr The IndexSet for which to compute the hash.
Returns A size_t hash value representing the IndexSet.