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

◆ show()

void gbA::show ( ) const
virtual

Reimplemented from Computation.

Definition at line 2826 of file gb-default.cpp.

2827{
2828 buffer o;
2829 o << "Groebner basis, " << gb.size() << " elements";
2830 emit_line(o.str());
2831 o.reset();
2832 for (unsigned int i = 0; i < gb.size(); i++)
2833 {
2834 gbelem_text_out(o, i);
2835 emit_line(o.str());
2836 o.reset();
2837 }
2838}
int size()
Definition buffer.hpp:70
char * str()
Definition buffer.hpp:72
void reset()
Definition buffer.hpp:69
void gbelem_text_out(buffer &o, int i, int nterms=3) const
void gb(IntermediateBasis &F, int n)
void emit_line(const char *s)
Definition text-io.cpp:47

References emit_line(), gb(), gbelem_text_out(), buffer::reset(), and buffer::str().

Referenced by start_computation().