|  |  7.5.5.0. intRoots Procedure from librarydmodapp.lib(see  dmodapp_lib).
 
Example:Usage:
isInt(L); L a list
Return:
list
Purpose:
extracts integer roots from a list given in bFactorformat
Assume:
The input list must be given in the format of bFactor.
Note:
Parameters are treated as integers.
 See also:
 bFactor.|  | LIB "dmodapp.lib";
ring r = 0,x,dp;
list L = bFactor((x-4/3)*(x+3)^2*(x-5)^4); L;
==> [1]:
==>    _[1]=5
==>    _[2]=4/3
==>    _[3]=-3
==> [2]:
==>    4,1,2
intRoots(L);
==> [1]:
==>    _[1]=5
==>    _[2]=-3
==> [2]:
==>    4,2
 | 
 
 |