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

◆ IM2_MonomialIdeal_to_matrix()

const Matrix * IM2_MonomialIdeal_to_matrix ( const MonomialIdeal * I)

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

41{
42 try
43 {
44 return Matrix::make(I);
45 } catch (const exc::engine_error& e)
46 {
47 ERROR(e.what());
48 return nullptr;
49 }
50}
static const Matrix * make(const FreeModule *target, int ncols, const engine_RawRingElementArray M)
Definition matrix.cpp:60
const int ERROR
Definition m2-mem.cpp:55

References ERROR, and Matrix.