source: git/Tst/Manual/letplaceGBasis.tst @ 85bcd6

fieker-DuValspielwiese
Last change on this file since 85bcd6 was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 449 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "freegb.lib";
3ring r = 0,(x,y,z),(dp(1),dp(2));
4int degree_bound = 5;
5def R = makeLetterplaceRing(5);
6setring R;
7ideal I = -x(1)*y(2)-7*y(1)*y(2)+3*x(1)*x(2), x(1)*y(2)*x(3)-y(1)*x(2)*y(3);
8ideal J = letplaceGBasis(I);
9J;
10// now transfom letterplace polynomials into strings of words
11lp2lstr(J,r); // export an object called @code{@LN} to the ring r
12setring r;  // change to the ring r
13lst2str(@LN,1);
14tst_status(1);$
Note: See TracBrowser for help on using the repository browser.