source: git/Tst/Manual/ivOrdMisLex.tst @ 6fb723

spielwiese
Last change on this file since 6fb723 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: 396 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "fpadim.lib";
3ring r = 0,(x,y),dp;
4def R = makeLetterplaceRing(5); // constructs a Letterplace ring
5setring R; // sets basering to Letterplace ring
6intvec i1 = 1,2,1; intvec i2 = 2,2,1; intvec i3 = 1,1; intvec i4 = 2,1,1,1;
7// the corresponding monomials are xyx,y^2x,x^2,yx^3
8list M = i1,i2,i3,i4;
9M;
10ivOrdMisLex(M);// orders the list of monomials
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.