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

◆ stats()

void binomialGB_comp::stats ( ) const

Definition at line 1273 of file gb-toric.cpp.

1274{
1275 buffer o;
1276 o << "binomial GB ";
1277 if (is_homogeneous)
1278 o << "homogeneous ";
1279 else
1280 o << "inhomogeneous ";
1281 if (is_nondegenerate) o << "nondegenerate ";
1282 if (use_bigcell) o << "bigcell ";
1283 o << newline;
1284 o << "--- pairs ----" << newline;
1285 emit(o.str());
1286 Pairs->stats();
1287
1288 o.reset();
1289 o << Gmin->n_masks() << newline;
1290 emit(o.str());
1291
1292 if (M2_gbTrace >= 3) Gmin->debug_display();
1293}
binomialGB * Gmin
Definition gb-toric.hpp:315
binomial_s_pair_set * Pairs
Definition gb-toric.hpp:314
char * str()
Definition buffer.hpp:72
void reset()
Definition buffer.hpp:69
char newline[]
Definition m2-types.cpp:49
int M2_gbTrace
Definition m2-types.cpp:52
void emit(const char *s)
Definition text-io.cpp:41

References emit(), Gmin, is_homogeneous, is_nondegenerate, M2_gbTrace, newline, Pairs, buffer::reset(), buffer::str(), and use_bigcell.