|  |  D.12.8.15 nrroots Procedure from libraryrootsur.lib(see  rootsur_lib).
 
Example:Usage:
nrroots(p); poly p
Return:
int: the number of real roots of p
 See also:
 boundposDes;
 sturm;
 sturmha.|  | LIB "rootsur.lib";
ring r = 0,x,dp;
poly p = (x+2)*(x-1)*(x-5);
nrroots(p);
==> 3
p = p*(x2+1);
nrroots(p);
==> 3
 | 
 
 |