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

◆ one_reduction_step()

bool binomial_ring::one_reduction_step ( binomial & f,
binomial g ) const

Definition at line 397 of file gb-toric.cpp.

400{
401 // MES: need to consider the cases: divide by content, homog_prime.
402 for (int i = 0; i < nslots; i++) f.lead[i] += -g.lead[i] + g.tail[i];
403 return normalize(f);
404}
bool normalize(binomial &f) const
Definition gb-toric.cpp:382
monomial0 tail
Definition gb-toric.hpp:52
monomial0 lead
Definition gb-toric.hpp:51

References normalize(), and nslots.