source: git/Tst/Manual/iv2lpList.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: 517 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "fpadim.lib";
3ring r = 0,(x,y,z),dp;
4def R = makeLetterplaceRing(5); // constructs a Letterplace ring
5setring R; // sets basering to Letterplace ring
6intmat u[3][1] = 1,1,2; intmat v[1][3] = 2,1,3; intmat w[2][3] = 3,1,1,2,3,1;
7// defines intmats of different size containing intvec representations of
8// monomials as rows
9list L = u,v,w;
10print(u); print(v); print(w); // shows the intmats contained in L
11iv2lpList(L); // returns the corresponding monomials as an ideal
12tst_status(1);$
Note: See TracBrowser for help on using the repository browser.