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

◆ next_monideal()

void hilb_comp::next_monideal ( )

Definition at line 314 of file hilb.cpp.

315{
316 reset();
317 MonomialIdeal *I = input_mat->make_monideal(this_comp);
318 // The above line adds the squares of the variables which are skew variables
319 // into the monomial ideal. This allows Hilbert functions of such rings
320 // to be computed as usual.
321 part_table.partition(I, current->monids);
322 current->i = current->monids.size() - 1;
323 current->first_sum = current->i + 1; // This part is not used at top level
324}
const Matrix * input_mat
Definition hilb.hpp:102
void reset()
Definition hilb.cpp:325
hilb_step * current
Definition hilb.hpp:110
partition_table part_table
Definition hilb.hpp:127
int this_comp
Definition hilb.hpp:105

References current, input_mat, part_table, reset(), and this_comp.

Referenced by hilb_comp(), and step().