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 | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "freegb.lib"; |
---|
3 | ring r = 0,(x,y,z),(dp(1),dp(2)); |
---|
4 | int degree_bound = 5; |
---|
5 | def R = makeLetterplaceRing(5); |
---|
6 | setring R; |
---|
7 | ideal 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); |
---|
8 | ideal J = letplaceGBasis(I); |
---|
9 | J; |
---|
10 | // now transfom letterplace polynomials into strings of words |
---|
11 | lp2lstr(J,r); // export an object called @code{@LN} to the ring r |
---|
12 | setring r; // change to the ring r |
---|
13 | lst2str(@LN,1); |
---|
14 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.