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

◆ showAlpha()

void ResMonoidDense::showAlpha ( res_const_packed_monomial m) const

Definition at line 108 of file res-moninfo-dense.cpp.

109{
111
112 m += 2 + nweights; // get by: hashcode, component, weightvals
113 for (int i = 0; i < nvars; i++)
114 {
115 long e = *m++;
116 if (e == 0) continue;
117 fprintf(stdout, "%c", 'a' + i);
118 if (e > 1) fprintf(stdout, "%ld", e);
119 }
120 fprintf(stdout, "<%d>", comp);
121}
component_index get_component(res_const_packed_monomial m) const
myword component_index

References get_component(), nvars, and nweights.

Referenced by compare_schreyer(), F4Res::debugOutputColumns(), F4Res::debugOutputReducers(), display_poly(), and SchreyerFrame::show().