source: git/Tst/Manual/sagbiReduce.tst

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