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

◆ find_ring_divisor()

bool GBKernelComputation::find_ring_divisor ( const_exponents exp,
const gbvector *& result )
private

Definition at line 275 of file Eschreyer.cpp.

280{
281 if (!R->is_quotient_ring()) return false;
282 Bag *b;
283 if (!R->get_quotient_monomials()->search_expvector(exp, b)) return false;
284 int index = b->basis_elem();
285 result = R->quotient_gbvector(index);
286 return true;
287}
const PolynomialRing * R
Definition Eschreyer.hpp:87
int basis_elem() const
Definition int-bag.hpp:66
int_bag Bag
Definition int-bag.hpp:70
VALGRIND_MAKE_MEM_DEFINED & result(result)

References int_bag::basis_elem(), R, and result().

Referenced by geo_reduce(), and reduce().