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

◆ elem_text_out()

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

Definition at line 182 of file aring-gf-flint-big.cpp.

187{
188 if (is_zero(a))
189 {
190 o << "0";
191 return;
192 }
193 ring_elem b;
194 lift(&originalRing(), a, b);
195 originalRing().elem_text_out(o, b, p_one, p_plus, p_parens);
196}
const PolynomialRing & originalRing() const
bool lift(const Ring *Rg, const ElementType &f, ring_elem &result) const
bool is_zero(const ElementType &f) const
virtual void elem_text_out(buffer &o, const ring_elem f, bool p_one=true, bool p_plus=false, bool p_parens=false) const =0

References Ring::elem_text_out(), is_zero(), lift(), and originalRing().