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 TypeMethodDescriptiongetRoots()Returns all the found roots of the polynomial.booleanprocess(Polynomial poly) Finds the roots of the provided polynomial.
-
Method Details
-
process
Finds the roots of the provided polynomial.
- Parameters:
poly- Polynomial being considered. Not modified.- Returns:
- true if successful.
-
getRoots
-