spielwiese
Last change
on this file since 56c0fe was
2e49a5,
checked in by Olaf Bachmann <obachman@…>, 23 years ago
|
* initial commit
git-svn-id: file:///usr/local/Singular/svn/trunk@5001 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
469 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | |
---|
3 | ring R = (17027, t), (x, y, z), lp; |
---|
4 | minpoly = t^2 + 1; |
---|
5 | |
---|
6 | poly g; |
---|
7 | |
---|
8 | |
---|
9 | poly p4 = (7*t*y*x^2*z^2 - 3*t + t*x*y*z + 11*(x + 1 + t)*y^2 + 5*z + t |
---|
10 | + 1)^4*(3*t*x - 7*t*y + 2*z - 3*t + 1)^5; |
---|
11 | poly q4 = (7*t*y*x^2*z^2 - 3*t + t*x*y*z + 11*(x + 1 + t)*y^2 + 5*z + t |
---|
12 | + 1)^3*(3*t*x - 7*t*y + 2*z + 3*t - 1)^6; |
---|
13 | |
---|
14 | tst_InitTimer(); |
---|
15 | |
---|
16 | g = gcd(p4, q4); |
---|
17 | |
---|
18 | tst_ReportTimer("X"); |
---|
19 | |
---|
20 | g; |
---|
21 | |
---|
22 | tst_InitTimer(); |
---|
23 | factorize(g); |
---|
24 | tst_ReportTimer("X+"); |
---|
25 | |
---|
26 | kill R; |
---|
27 | |
---|
28 | tst_status(1); $ |
---|
29 | |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.