spielwiese
Last change
on this file since 1ebec3 was
8710ff0,
checked in by Martin Lee <martinlee84@…>, 12 years ago
|
chg: 64bit integers in factory by Adi Popescu
|
-
Property mode set to
100644
|
File size:
433 bytes
|
Line | |
---|
1 | ring r =0,(x,y),dp; |
---|
2 | poly f = 9x16-18x13y2-9x12y3+9x10y4-18x11y2+36x8y4 |
---|
3 | +18x7y5-18x5y6+9x6y4-18x3y6-9x2y7+9y8; |
---|
4 | // = 9 * (x5-1y2)^2 * (x6-2x3y2-1x2y3+y4) |
---|
5 | factorize(f); |
---|
6 | // returns factors and multiplicities, |
---|
7 | // first factor is a constant. |
---|
8 | poly g = (y4+x8)*(x2+y2); |
---|
9 | factorize(g); |
---|
10 | // The same in characteristic 2: |
---|
11 | ring r =2,(x,y),dp; |
---|
12 | poly g = (y4+x8)*(x2+y2); |
---|
13 | factorize(g); |
---|
14 | LIB "tst.lib";tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.