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

◆ SMinitialize()

void SchurRing2::SMinitialize ( int max_rows,
int max_weight )
private

Definition at line 732 of file schur2.cpp.

734{
735 SMmaxrows = n;
736 SMmaxweight = maxwt; // need this?
737
738 SMtab.initialize(SMmaxrows, SMmaxweight);
739 SMfilled.initialize(SMmaxrows, SMmaxweight);
740 SMcurrent = 0;
741 SMfinalwt = 0;
742 SMtab.p = new int[nvars + 1]; // FLAG: is this correct? use schur_word?, what
743 // about nvars==-1
744 for (int i = 0; i <= nvars; i++) SMtab.p[i] = 0;
745 SMheap = new schur_poly_heap(this);
746}
schur_poly_heap * SMheap
Definition schur2.hpp:255
int SMfinalwt
Definition schur2.hpp:254
tableau2 SMfilled
Definition schur2.hpp:252
int SMmaxrows
Definition schur2.hpp:250
int SMcurrent
Definition schur2.hpp:253
int SMmaxweight
Definition schur2.hpp:249
tableau2 SMtab
Definition schur2.hpp:251

References nvars, SMcurrent, SMfilled, SMfinalwt, SMheap, SMmaxrows, SMmaxweight, and SMtab.

Referenced by initialize_SchurRing2().