Macaulay2 Engine
Loading...
Searching...
No Matches
MonomialsIgnoringComponent Class Reference

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 MonomialInfomMonoid

Detailed Description

MonHashTable trait for packed_monomials that fold all components together (used when only the underlying monomial matters).

Note
AI-generated documentation. Verify against the source before relying on it.

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.


The documentation for this class was generated from the following file: