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

◆ displayGroebnerBasis()

auto NCGroebner::displayGroebnerBasis ( std::ostream & o) const->void

Definition at line 427 of file NCGroebner.cpp.

428{
429 o << "Current GB:" << std::endl;
430 for (auto f : mGroebner)
431 {
432 buffer b1;
433 freeAlgebra().elem_text_out(b1,*f, true, true, true);
434 o << b1.str() << std::endl;
435 }
436}
void elem_text_out(buffer &o, const Poly &f, bool p_one, bool p_plus, bool p_parens) const
PolyList mGroebner
const FreeAlgebra & freeAlgebra() const
char * str()
Definition buffer.hpp:72

References freeAlgebra(), mGroebner, and buffer::str().