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

◆ append()

void SchreyerOrder::append ( int compare_num,
const_monomial base_monom )

Definition at line 19 of file schorder.cpp.

20{
21 auto end = _order.size();
22 _order.resize(end + _nslots);
23 int *me = _order.data() + end;
24 *me++ = compare_num0;
25 for (int i = 1; i < _nslots; i++) *me++ = *baseMonom++;
26 _rank++;
27}
gc_vector< int > _order
Definition schorder.hpp:73
TermIterator< Nterm > end(Nterm *)
Definition ringelem.cpp:5

References _nslots, _order, _rank, and end().

Referenced by append_order().