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

◆ rawMaximalIndependentSets()

const MonomialIdeal * rawMaximalIndependentSets ( const MonomialIdeal * I,
int count )

Definition at line 245 of file monomial-ideal.cpp.

248{
249 try
250 {
251 AssociatedPrimes ap(I);
252 MonomialIdeal *result = ap.associated_primes(count);
254 return result;
255 } catch (const exc::engine_error& e)
256 {
257 ERROR(e.what());
258 return nullptr;
259 }
260}
Engine-side monomial ideal: a decision tree of Nmi_nodes storing the (typically minimal) generators b...
Definition monideal.hpp:136
void intern_monideal(MonomialIdeal *G)
Definition finalize.cpp:55
const int ERROR
Definition m2-mem.cpp:55
VALGRIND_MAKE_MEM_DEFINED & result(result)

References AssociatedPrimes::associated_primes(), ERROR, intern_monideal(), and result().