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

Legacy IntsSet configuration that bundles hashing, equality, and a display helper into one functor object. More...

#include <monomial-collection.hpp>

Public Types

using ElementType = ModuleMonom

Public Member Functions

 ModuleMonomDefaultConfigOrig (int nvars)
 ModuleMonomDefaultConfigOrig (const ModuleMonomDefaultConfigOrig &C)
std::size_t hash (const ModuleMonom &m) const
bool keysEqual (const ModuleMonom &e1, const ModuleMonom &e2) const
std::size_t operator() (const ModuleMonom &e) const
bool operator() (const ModuleMonom &e1, const ModuleMonom &e2) const
void display (std::ostream &o, const ModuleMonom &m) const

Private Attributes

int mNumVars

Detailed Description

Legacy IntsSet configuration that bundles hashing, equality, and a display helper into one functor object.

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

Provides the older single-functor shape (operator()(m) for hash, operator()(a, b) for equality), with keysEqual doing a length-prefixed elementwise check that ignores the slot reserved for value. Superseded by ModuleMonomDefaultConfig, which moved Hash and Eq into discrete member functors.

Definition at line 204 of file monomial-collection.hpp.


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