Interface PolynomialRoots

All Known Implementing Classes:
RootFinderCompanion, WrapRealRootsSturm

public interface PolynomialRoots
Interface for finding the roots of a polynomial. Supports both real and imaginary roots. Exact behavior is implementation specific.
  • Method Summary

    Modifier and Type Method Description
    List<Complex_F64> getRoots()
    Returns all the found roots of the polynomial.
    boolean process​(Polynomial poly)
    Finds the roots of the provided polynomial.
  • Method Details

    • process

      boolean process​(Polynomial poly)

      Finds the roots of the provided polynomial.

      Parameters:
      poly - Polynomial being considered. Not modified.
      Returns:
      true if successful.
    • getRoots

      List<Complex_F64> getRoots()
      Returns all the found roots of the polynomial.
      Returns:
      roots