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 | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "fpadim.lib"; |
---|
3 | ring r = 0,(x,y,z),dp; |
---|
4 | def R = makeLetterplaceRing(5); // constructs a Letterplace ring |
---|
5 | setring R; // sets basering to Letterplace ring |
---|
6 | intmat 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 |
---|
9 | iv2lpMat(u); // returns the monomials contained in u |
---|
10 | iv2lpMat(v); // returns the monomials contained in v |
---|
11 | iv2lpMat(w); // returns the monomials contained in w |
---|
12 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.