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

◆ is_gcd_one_pair()

bool gbA::is_gcd_one_pair ( spair * p)
private

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

670{
671 int i, j;
672 exponents_t e1, e2;
673 if (p->type != SPAIR::SPAIR_SPAIR) return false;
674 i = p->x.pair.i;
675 j = p->x.pair.j;
676 e1 = gb[i]->lead;
677 e2 = gb[j]->lead;
678 for (i = 0; i < _nvars; i++)
679 if (e1[i] > 0 && e2[i] > 0) return false;
680 return true;
681}
exponents::Exponents exponents_t
int _nvars
@ SPAIR_SPAIR
void gb(IntermediateBasis &F, int n)
int p

References _nvars, gb(), p, and SPAIR_SPAIR.

Referenced by minimalize_pairs_non_ZZ().