
5.1.69 laguerre
Syntax:
laguerre ( poly_expression, int_expression, int_expression )
Type:
 list
Purpose:
 computes all complex roots of a univariate polynomial using Laguerre's
algorithm. The second argument defines the precision of the fractional part
if the ground field is the field of rational numbers, otherwise it will be
ignored. The third argument (can be 0, 1 or 2) gives the number of extra runs
for Laguerre's algorithm (with corrupted roots), leading to better results.
Note:
 If the ground field is the field of complex numbers, the elements of the
list are of type number, otherwise of type string.
Example:
 ring rs1=0,(x,y),lp;
poly f=15x5+x3+x210;
laguerre(f,10,2);
==> [1]:
==> 0.8924637479
==> [2]:
==> (0.7392783383+I*0.5355190078)
==> [3]:
==> (0.7392783383I*0.5355190078)
==> [4]:
==> (0.2930464644I*0.9003002396)
==> [5]:
==> (0.2930464644+I*0.9003002396)

