|
Macaulay2 Engine
|
Combined hash + equality functor for fixed-size monomials, plugged into the std::unordered_set inside MonomialSetFixedSize. More...
#include <monomial-sets.hpp>
Public Member Functions | |
| MonomialHashAndEqFixedSize (int size) | |
| std::size_t | operator() (const int *m) const |
| bool | operator() (const int *a, const int *b) const |
Private Attributes | |
| int | mMonomialSize |
Combined hash + equality functor for fixed-size monomials, plugged into the std::unordered_set inside MonomialSetFixedSize.
Equality is std::equal over mMonomialSize ints; the hash is a TODO stub that returns 0 (so the underlying hash set degenerates to a single bucket and falls back on the equality comparator).
Definition at line 126 of file monomial-sets.hpp.