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

◆ showAlpha()

void ResMonoidSparse::showAlpha ( res_const_packed_monomial m) const

Definition at line 101 of file res-moninfo-sparse.cpp.

102{
104 const int* end = m + *m;
105 for (const int* v = m + mFirstVar; v != end; ++v)
106 {
107 fprintf(stdout, "%c", 'a' + *v);
108 }
109 fprintf(stdout, "<%d>", comp);
110}
component_index get_component(res_const_packed_monomial m) const
myword component_index
TermIterator< Nterm > end(Nterm *)
Definition ringelem.cpp:5

References end(), get_component(), and mFirstVar.

Referenced by compare_schreyer().