|
Macaulay2 Engine
|
MonHashTable trait for packed_monomials that fold all components together (used when only the underlying monomial matters). More...
#include <monhashtable.hpp>
Public Types | |
| typedef packed_monomial | value |
Public Member Functions | |
| long | hash_value (value m) const |
| bool | is_equal (value m, value n) const |
| void | show (value m) const |
| MonomialsIgnoringComponent (const MonomialInfo &MI) | |
Private Attributes | |
| const MonomialInfo & | mMonoid |
MonHashTable trait for packed_monomials that fold all components together (used when only the underlying monomial matters).
hash_value reads the leading int (the monomial-only hash) without mixing in the component. is_equal delegates to MonomialInfo::monomial_part_is_equal, which compares exponent vectors and ignores the component slot.
Definition at line 83 of file monhashtable.hpp.