Univariate Continued Fraction solver |
The family of methods based on continued fraction expansion proceed as follows:
Algorithm solve_continued_fraction(f,)
Compute an integer lower bound
of the positive roots of ;
Shift by :
;
Compute the number of sign
changes of the coefficients of ;
if then output the
corresponding isolation interval and stop; if stop also;
Split the polynomial in whose positive roots correspond to
the roots of in , whose positive
roots correspond to the roots of
in .
Apply reccursively the algorithm on
and .
Such a solver computes the first terms of the continued fraction expansion of the roots of a univariate polynomial. Two variants are also available, depending wether we want to isolate or approximate the real roots.