source: git/Tst/Manual/Emaxcont.tst @ 42ea848

spielwiese
Last change on this file since 42ea848 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: 712 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "resbinomial.lib";
3ring r = 0,(x(1),y(2),x(3),y(4),x(5..7),y(8)),dp;
4list flag=identifyvar();
5ideal J=x(1)^3*x(3)-y(2)*y(4)^2,x(5)*y(2)-x(7)*y(4)^2,x(6)^2*(1-y(4)*y(8)^5),x(7)^4*y(8)^2;
6list L=data(J,4,8);
7list hyp=Emaxcont(L[1],L[2],4,8,flag);
8hyp[1]; // max E-order=0
9hyp[2]; // There are no hypersurfaces of E-maximal contact
10ring r = 0,(x(1),y(2),x(3),y(4),x(5..7),y(8)),dp;
11list flag=identifyvar();
12ideal J=x(1)^3*x(3)-y(2)*y(4)^2*x(3),x(5)*y(2)-x(7)*y(4)^2,x(6)^2*(1-y(4)*y(8)^5),x(7)^4*y(8)^2;
13list L=data(J,4,8);
14list hyp=Emaxcont(L[1],L[2],4,8,flag);
15hyp[1]; // the E-order is 1
16hyp[2]; // {x(3)=0},{x(5)=0},{x(7)=0} are hypersurfaces of E-maximal contact
17tst_status(1);$
Note: See TracBrowser for help on using the repository browser.