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

◆ debug_display() [1/2]

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

Definition at line 292 of file M2FreeAlgebra.cpp.

293{
294 std::cout << "coeffs: ";
295 for (auto i=f->cbeginCoeff(); i != f->cendCoeff(); ++i)
296 {
297 buffer o;
299 std::cout << o.str() << " ";
300 }
301 std::cout << std::endl << " monoms: ";
302 for (auto i=f->cbeginMonom(); i != f->cendMonom(); ++i)
303 {
304 std::cout << (*i) << " ";
305 }
306 std::cout << std::endl;
307}
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().