Class BracketingNthOrderBrentSolver

All Implemented Interfaces:
BaseUnivariateSolver<UnivariateFunction>, BracketedUnivariateSolver<UnivariateFunction>, UnivariateSolver

public class BracketingNthOrderBrentSolver extends AbstractUnivariateSolver implements BracketedUnivariateSolver<UnivariateFunction>
This class implements a modification of the Brent algorithm.

The changes with respect to the original Brent algorithm are:

  • the returned value is chosen in the current interval according to user specified AllowedSolution,
  • the maximal order for the invert polynomial root search is user-specified instead of being invert quadratic only

The given interval must bracket the root.