Macaulay2 Engine
Loading...
Searching...
No Matches

◆ hash_value()

int ResMonomialsWithComponent::hash_value ( value m) const
inline

Definition at line 114 of file monhashtable.hpp.

115 {
116 return mMonoid.hash_value(m) + 34141 * mMonoid.get_component(m);
117 } // m[0] + m[1]
const ResMonoid & mMonoid

References mMonoid.