Package org.ddogleg.solver
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.boolean
process
(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
List<Complex_F64> getRoots()Returns all the found roots of the polynomial.- Returns:
- roots
-