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

◆ text_out()

void GaussElimComputation::text_out ( buffer & o) const
virtual

Reimplemented from Computation.

Definition at line 315 of file gauss.cpp.

316{
317 o << newline;
318 for (int i = 0; i < gens->n_rows(); i++)
319 {
320 if (gb_list[i] != nullptr)
321 {
322 o << "--- component " << i << " -----" << newline;
323 o << "gb elem = ";
324 R->vec_text_out(o, gb_list[i]->f);
325 o << newline;
326 }
327 else if (reduce_list[i] != nullptr)
328 o << "--- component " << i << " -----" << newline;
329 for (gm_elem *p = reduce_list[i]; p != nullptr; p = p->next)
330 {
331 o << p->nterms;
332 o << " ## ";
333 R->vec_text_out(o, p->f);
334 o << " ## ";
335 R->vec_text_out(o, p->fsyz);
336 o << newline;
337 }
338 }
339 o << newline;
340 for (int i = 0; i < syz_list.size(); i++) R->vec_text_out(o, syz_list[i]);
341 o << newline;
342}
gm_elem ** reduce_list
Definition gauss.hpp:62
gm_elem ** gb_list
Definition gauss.hpp:63
const Matrix * gens
Definition gauss.hpp:67
const Ring * R
Definition gauss.hpp:66
int p
char newline[]
Definition m2-types.cpp:49

References gb_list, gens, newline, p, R, and reduce_list.

Referenced by start_computation().