MCPcopy Create free account
hub / github.com/Singular/Singular / involves_elimination_variables

Method involves_elimination_variables

IntegerProgramming/binomial.cc:1356–1371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1354
1355
1356BOOLEAN binomial::involves_elimination_variables(const term_ordering& w)
1357{
1358// The use of support information would require the distinction of various
1359// cases here (relation between the number of variables to eliminate
1360// and the number of support variables) and be quite difficult.
1361// It is doubtful if this would improve performance.
1362// As this function is not used in Buchberger´s algorithm (and therefore
1363// rather rarely), I renounce to implement this.
1364
1365 for(short i=0;i<w.number_of_elimination_variables();i++)
1366 // elimination variables are always the last ones
1367 if(exponent_vector[_number_of_variables-1-i]!=0)
1368 return TRUE;
1369
1370 return FALSE;
1371}
1372
1373
1374

Callers 1

ideal_stuff.ccFile · 0.80

Calls 1

Tested by

no test coverage detected