|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Hash functor specialization for BinnedObservableId. More...
#include <BinnedObservableId.h>
Public Member Functions | |
| std::size_t | operator() (BinnedObservableId const &id) const noexcept |
| Computes the hash of a binned observable identifier. | |
Hash functor specialization for BinnedObservableId.
This specialization allows BinnedObservableId to be used as a key in std::unordered_map or std::unordered_set. The hash combines the hash of the underlying observable identifier with the bitwise representation of the normalized bin boundaries.
Definition at line 484 of file BinnedObservableId.h.
|
inlinenoexcept |
Computes the hash of a binned observable identifier.
Positive and negative zero are normalized before hashing the bin boundaries, consistently with equality comparison.
| id | Binned observable identifier to hash. |
id. Definition at line 494 of file BinnedObservableId.h.