source: git/Tst/Manual/iv2lpMat.tst @ 894057

spielwiese
Last change on this file since 894057 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: 529 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
9iv2lpMat(u); // returns the monomials contained in u
10iv2lpMat(v); // returns the monomials contained in v
11iv2lpMat(w); // returns the monomials contained in w
12tst_status(1);$
Note: See TracBrowser for help on using the repository browser.