Class LaguerreSolver

  • All Implemented Interfaces:
    BaseUnivariateSolver<PolynomialFunction>, PolynomialSolver

    public class LaguerreSolver
    extends AbstractPolynomialSolver
    Implements the Laguerre's Method for root finding of real coefficient polynomials. For reference, see
    A First Course in Numerical Analysis, ISBN 048641454X, chapter 8.
    Laguerre's method is global in the sense that it can start with any initial approximation and be able to solve all roots from that point. The algorithm requires a bracketing condition.
    • Constructor Detail

      • LaguerreSolver

        public LaguerreSolver()
        Construct a solver with default accuracy (1e-6).
      • LaguerreSolver

        public LaguerreSolver​(double absoluteAccuracy)
        Construct a solver.
        Parameters:
        absoluteAccuracy - Absolute accuracy.
      • LaguerreSolver

        public LaguerreSolver​(double relativeAccuracy,
                              double absoluteAccuracy)
        Construct a solver.
        Parameters:
        relativeAccuracy - Relative accuracy.
        absoluteAccuracy - Absolute accuracy.
      • LaguerreSolver

        public LaguerreSolver​(double relativeAccuracy,
                              double absoluteAccuracy,
                              double functionValueAccuracy)
        Construct a solver.
        Parameters:
        relativeAccuracy - Relative accuracy.
        absoluteAccuracy - Absolute accuracy.
        functionValueAccuracy - Function value accuracy.