source: git/Tst/Buch/Example_1_3_15.tst @ 107aac

spielwiese
Last change on this file since 107aac was 891438c, checked in by Gerhard Pfister <pfister@…>, 23 years ago
*GP: initial release git-svn-id: file:///usr/local/Singular/svn/trunk@5579 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 275 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4ring R = 0,(x,y,z),dp;
5poly p =  z4+2z2+1;
6LIB "primdec.lib";     
7radical(p);                 
8
9
10ideal I = xyz, x2, y4+y5;   
11radical(I);
12
13ideal Is = groebner(I);
14int k;
15while ( reduce((y2+y)^k,Is) != 0 ){k=k+1;}
16k;           
17
18
19tst_status(1);$
Note: See TracBrowser for help on using the repository browser.