fieker-DuValspielwiese
Last change
on this file since e74bb4 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:
301 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "rootsmr.lib"; |
---|
3 | ring r = 0,(x,y,z),dp; |
---|
4 | ideal i = (x-1)*(x-2),(y-1),(z+5); // V(I) = {(1,1,-5),(2,1,-5)} |
---|
5 | i = std(i); |
---|
6 | ideal b = qbase(i); |
---|
7 | poly f = x+y+z; |
---|
8 | list psums = list(-2-3,4+9); // f evaluated at V(I) gives {-3,-2} |
---|
9 | list l = powersums(f,b,i); |
---|
10 | psums; |
---|
11 | l; |
---|
12 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.