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

◆ elem_text_out()

void M2::ARingGFM2::elem_text_out ( buffer & o,
ElementType a,
bool p_one = true,
bool p_plus = false,
bool p_parens = false ) const

Definition at line 188 of file aring-m2-gf.cpp.

193{
194 if (a == 0)
195 {
196 o << "0";
197 return;
198 }
199 ring_elem h = mGF.ring().power(mGF.primitiveElement(), a);
200 mGF.ring().elem_text_out(o, h, p_one, p_plus, p_parens);
201 mGF.ring().remove(h);
202}
GaloisFieldTable mGF

References mGF.