source: git/Tst/Manual/nrRootsProbab.tst @ 951db29

spielwiese
Last change on this file since 951db29 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: 346 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "rootsmr.lib";
3ring r = 0,(x,y,z),lp;
4ideal i = (x-1)*(x-2),(y-1)^3*(x-y),(z-1)*(z-2)*(z-3)^2;
5nrRootsProbab(i);       //no of real roots (using internally std)
6i = groebner(i);        //using the hilbert driven GB computation
7int pr = printlevel;
8printlevel = 2;
9nrRootsProbab(i);
10printlevel = pr;
11tst_status(1);$
Note: See TracBrowser for help on using the repository browser.