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
}
binomial_ring::normalize
bool normalize(binomial &f) const
Definition
gb-toric.cpp:382
binomial_ring::nslots
int nslots
Definition
gb-toric.hpp:97
binomial::tail
monomial0 tail
Definition
gb-toric.hpp:52
binomial::lead
monomial0 lead
Definition
gb-toric.hpp:51
References
normalize()
, and
nslots
.
binomial_ring
Generated on
for Macaulay2 Engine by
1.15.0