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

◆ exponents_equal()

bool exponents_equal ( int nvars,
exponents_t a,
exponents_t b )
static

Definition at line 319 of file gb-default.cpp.

320{
321 for (int i = 0; i < nvars; i++)
322 if (a[i] != b[i]) return false;
323 return true;
324}

Referenced by MonomialTable::make_minimal(), MonomialTable::minimalize(), and gbA::minimalize_pairs_non_ZZ().