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

◆ debug_out() [1/2]

void gb2_comp::debug_out ( buffer & o,
s_pair * q ) const

Definition at line 917 of file res-a2-gb.cpp.

918{
919 if (q == nullptr) return;
920 o << "(" << q->compare_num << " ";
921 if (q->first != nullptr)
922 o << q->first->me;
923 else
924 o << ".";
925 o << " ";
926 if (q->second != nullptr)
927 o << q->second->me;
928 else
929 o << ".";
930 o << " ";
931 M->elem_text_out(o, q->lcm);
932 o << ") ";
933}
const Monoid * M
Definition res-a2.hpp:115
int me
Definition spair.hpp:62
int * lcm
Definition spair.hpp:95
gb_elem * second
Definition spair.hpp:97
gb_elem * first
Definition spair.hpp:96
int compare_num
Definition spair.hpp:93

References s_pair::compare_num, s_pair::first, s_pair::lcm, M, gb_elem::me, and s_pair::second.