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

◆ test_spair_code()

void F4GB::test_spair_code ( )
private

Definition at line 1114 of file f4.cpp.

1115{
1116 // This starts out with taking each generator and placing it into the
1117 // gb matrix, and then calling find_new_pairs after each one.
1118 // It displays the list of spairs after each generator.
1119
1120 mGroebnerBasis.push_back(mGenerators[0]);
1121 for (int i = 1; i < mGenerators.size(); i++)
1122 {
1123 mGroebnerBasis.push_back(mGenerators[i]);
1124 mSPairSet.find_new_pairs(false);
1125 fprintf(stderr, "---Just inserted element %d---\n", i);
1126 mSPairSet.display();
1127 }
1128}
gb_array mGenerators
Definition f4.hpp:180
F4SPairSet mSPairSet
Definition f4.hpp:249
gb_array mGroebnerBasis
Definition f4.hpp:181

References mGenerators, mGroebnerBasis, and mSPairSet.