source: git/Tst/Manual/factorize.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: 377 bytes
Line 
1LIB "tst.lib"; tst_init();
2  ring r=32003,(x,y,z),dp;
3  factorize(9*(x-1)^2*(y+z));
4  factorize(9*(x-1)^2*(y+z),1);
5  factorize(9*(x-1)^2*(y+z),2);
6  ring rQ=0,x,dp;
7  poly f = x2+1;            // irreducible in Q[x]
8  factorize(f);
9  ring rQi = (0,i),x,dp;
10  minpoly = i2+1;
11  poly f = x2+1;            // splits into linear factors in Q(i)[x]
12  factorize(f);
13tst_status(1);$
Note: See TracBrowser for help on using the repository browser.