org.ddogleg.solver
Interface PolynomialRoots
-
- All Known Implementing Classes:
- RootFinderCompanion, WrapRealRootsSturm
public interface PolynomialRootsInterface for finding the roots of a polynomial. Supports both real and imaginary roots. Exact behavior is implementation specific.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.util.List<org.ejml.data.Complex64F>getRoots()Returns all the found roots of the polynomial.booleanprocess(Polynomial poly)Finds the roots of the provided polynomial.
-
-
-
Method Detail
-
process
boolean process(Polynomial poly)
Finds the roots of the provided polynomial.
- Parameters:
poly- Polynomial being considered. Not modified.- Returns:
- true if successful.
-
getRoots
java.util.List<org.ejml.data.Complex64F> getRoots()
Returns all the found roots of the polynomial.- Returns:
- roots
-
-
DataMelt 3.0 © DataMelt by jWork.ORG