|
Macaulay2 Engine
|
Frobby::IdealConsumer adapter that collects Frobby's output monomials into an engine MonomialIdeal. More...
Public Member Functions | |
| MyIdealConsumer (const PolynomialRing *R, int nv0) | |
| ~MyIdealConsumer () | |
| virtual void | consume (mpz_ptr *exponentVector) |
| MonomialIdeal * | result () |
Private Attributes | |
| int | nv |
| exponents_t | exp |
| MonomialIdeal * | J |
Additional Inherited Members | |
| Static Private Member Functions inherited from our_new_delete | |
| static void * | operator new (size_t size) |
| static void * | operator new[] (size_t size) |
| static void | operator delete (void *obj) |
| static void | operator delete[] (void *obj) |
| static void * | operator new (size_t size, void *existing_memory) |
| static void * | operator new[] (size_t size, void *existing_memory) |
| static void | operator delete (void *obj, void *existing_memory) |
| static void | operator delete[] (void *obj, void *existing_memory) |
Frobby::IdealConsumer adapter that collects Frobby's output monomials into an engine MonomialIdeal.
Holds a scratch exp buffer of length nv (the variable count) and a MonomialIdeal* J accumulator. Each consume callback from Frobby converts the incoming mpz_t** exponent vector into engine exp form and appends it to J. The completed ideal is then handed back to the front end as the result of the Frobby-backed monomial operation.
Definition at line 297 of file monomial-ideal.cpp.