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

◆ IM2_MonomialIdeal_make()

const MonomialIdeal * IM2_MonomialIdeal_make ( const Matrix * m,
int n )

MonomialIdeal interface routines

A MonomialIdeal is an immutable object, having a base ring. The base ring should be a polynomial ring or quotient of one. In case a quotient is given, the monomial ideal is considered to be in the commutative quotient ring whose quotient elements are the lead terms of the quotient polynomials. Each monomial ideal is represented by its minimal generators only

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

26{
27 try
28 {
31 return result;
32 } catch (const exc::engine_error& e)
33 {
34 ERROR(e.what());
35 return nullptr;
36 }
37}
MonomialIdeal * make_monideal(int n, bool use_only_monomials_with_unit_coeffs=false) const
Definition matrix.cpp:1925
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 ERROR, intern_monideal(), Matrix::make_monideal(), Matrix, and result().