spielwiese
Last change
on this file since 1ebec3 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:
311 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "resbinomial.lib"; |
---|
3 | ring r = 0,(x(1),y(2),x(3),y(4)),dp; |
---|
4 | list flag=identifyvar(); |
---|
5 | ideal J=x(1)^3*y(2)*x(3)^5*y(4)^8; |
---|
6 | list L=data(J,1,4); |
---|
7 | L[2][1][1]; // list of exponents of the monomial J |
---|
8 | list M=cleanunit(L[2][1][1],4,flag); |
---|
9 | M; // new list without units |
---|
10 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.