Top
Back: 5.1.59 koszul
Forward: 5.1.61 lead
FastBack: 5. Functions and system variables
FastForward: 6. Tricks and pitfalls
Up: 5.1 Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

5.1.60 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+x2-10;
laguerre(f,10,2);
→ [1]:
→    (0.2930464644-I*0.9003002396)
→ [2]:
→    (0.2930464644+I*0.9003002396)
→ [3]:
→    (-0.7392783383-I*0.5355190078)
→ [4]:
→    (-0.7392783383+I*0.5355190078)
→ [5]:
→    0.8924637479

Top Back: 5.1.59 koszul Forward: 5.1.61 lead FastBack: 5. Functions and system variables FastForward: 6. Tricks and pitfalls Up: 5.1 Functions Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.