source: git/Tst/Manual/roots.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: 210 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "zeroset.lib";
3ring R = (0,a), x, lp;
4minpoly = a2+1;
5poly f = x3 - a;
6def R1 = roots(f);
7setring R1;
8minpoly;
9newA;
10f;
11theRoots;
12map F;
13F[1] = theRoots[1];
14F(f);
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.