fieker-DuValspielwiese
Last change
on this file since 7161aca 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:
403 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "bfun.lib"; |
---|
3 | ring r = 0,(x,y),dp; |
---|
4 | ideal I = 1,y,xy; |
---|
5 | poly f = 5xy+7y+3; |
---|
6 | poly g = 7x+5y+3; |
---|
7 | linReduce(g,I); // reduces tails |
---|
8 | linReduce(g,I,0,0); // no reductions of tails |
---|
9 | linReduce(f,I,1); // reduces tails and shows reductions used |
---|
10 | f = x3+y2+x2+y+x; |
---|
11 | I = x3-y3, y3-x2,x3-y2,x2-y,y2-x; |
---|
12 | list l = linReduce(f,I,1); |
---|
13 | l; |
---|
14 | module M = I; |
---|
15 | f - (l[1]-(M*l[2])[1,1]); |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.