spielwiese
Last change
on this file since 6fb723 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:
392 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r1 = 0,(z,y,x),ds; |
---|
3 | poly s1=2x5y+7x2y4+3x2yz3; |
---|
4 | poly s2=1x2y2z2+3z8; |
---|
5 | poly s3=4xy5+2x2y2z3+11x10; |
---|
6 | ideal i=s1,s2,s3; |
---|
7 | ideal j=std(i); |
---|
8 | reduce(3z3yx2+7y4x2+yx5+z12y2x2,j); |
---|
9 | reduce(3z3yx2+7y4x2+yx5+z12y2x2,j,1); |
---|
10 | // 4 arguments: |
---|
11 | ring rs=0,x,ds; |
---|
12 | // normalform of 1/(1+x) w.r.t. (x3) up to degree 5 |
---|
13 | reduce(poly(1),1+x,ideal(x3),5); |
---|
14 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.