|
D.2.3.20 timeFactorize
Procedure from library general.lib (see general_lib).
- Usage:
- timeFactorize(p,d); poly p , integer d
- Return:
- factorize(p) if the factorization finished after d-1
seconds otherwise f is considered to be irreducible
Example:
| LIB "general.lib";
ring r=0,(x,y),dp;
poly p=((x2+y3)^2+xy6)*((x3+y2)^2+x10y);
p=p^2;
timeFactorize(p,2);
==> [1]:
==> _[1]=1
==> _[2]=x10y+x6+2x3y2+y4
==> _[3]=xy6+y6+2x2y3+x4
==> [2]:
==> 1,2,2
//timeFactorize(p,20);
|
|