Macaulay2 Engine
Loading...
Searching...
No Matches
◆
hashFunction()
newf4::HashInt
hashFunction
(
const
newf4::MonomialView
&
m
)
Definition at line
56
of file
NewF4Test.cpp
.
57
{
58
newf4::HashInt
hash = 0;
59
//for (auto a = m.cbegin(); a != m.cend(); ++a) { hash += (a.var() + a.power()); }
60
for
(
auto
a : m) { hash += a.first + a.second; }
61
return
hash;
62
}
newf4::HashInt
uint64_t HashInt
Definition
MonomialTypes.hpp:53
Referenced by
TEST()
.
Macaulay2
e
unit-tests
NewF4Test.cpp
Generated on
for Macaulay2 Engine by
1.15.0