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

◆ debug_display() [1/2]

void M2FreeAlgebraQuotient::debug_display ( const Poly * f) const

Definition at line 272 of file M2FreeAlgebraQuotient.cpp.

273{
274 std::cout << "coeffs: ";
275 for (auto i=f->cbeginCoeff(); i != f->cendCoeff(); ++i)
276 {
277 buffer o;
279 std::cout << o.str() << " ";
280 }
281 std::cout << std::endl << " monoms: ";
282 for (auto i=f->cbeginMonom(); i != f->cendMonom(); ++i)
283 {
284 std::cout << (*i) << " ";
285 }
286 std::cout << std::endl;
287}
const Ring * coefficientRing() 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
char * str()
Definition buffer.hpp:72

References coefficientRing(), Ring::elem_text_out(), and buffer::str().

Referenced by debug_display().