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

◆ make()

MonomialTable * MonomialTable::make ( int nvars)
static

Definition at line 61 of file montable.cpp.

62{
65 result->mon_term_stash = new stash("montable terms", sizeof(mon_term));
66 result->_nvars = nvars;
67 result->_count = 0;
68 /* The first entry is a dummy entry. Components
69 will always start at 1. */
70 result->_head.push_back(nullptr);
71
72 return result;
73}
VALGRIND_MAKE_MEM_DEFINED & result(result)
Doubly-linked-list node of a MonomialTable's per-component monomial list.
Definition montable.hpp:109

References MonomialTable(), and result().

Referenced by gbA::initialize(), make_minimal(), MarkedGB::MarkedGB(), minimalize(), gbA::minimalize_pairs_non_ZZ(), QRingInfo_field::QRingInfo_field(), ReducedGB_Field::ReducedGB_Field(), ReducedGB_Field_Local::remainder(), and ReducedGB_Field_Local::remainder().