spielwiese
Last change
on this file 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:
505 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "sagbi.lib"; |
---|
3 | ring r=0,(x,y,z),dp; |
---|
4 | ideal A=x2,2*x2y+y,x3y2; |
---|
5 | poly p1=x^5+x2y+y; |
---|
6 | poly p2=x^16+x^12*y^5+6*x^8*y^4+x^6+y^4+3; |
---|
7 | ideal P=p1,p2; |
---|
8 | //--------------------------------------------- |
---|
9 | //SAGBI reduction of polynomial p1 by algebra A. |
---|
10 | //Default call, that is, no tail-reduction is done. |
---|
11 | sagbiReduce(p1,A); |
---|
12 | //--------------------------------------------- |
---|
13 | //SAGBI reduction of set of polynomials P by algebra A, |
---|
14 | //now tail-reduction is done. |
---|
15 | sagbiReduce(P,A,1); |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.