Package org.ddogleg.solver.impl
Class WrapRealRootsSturm
java.lang.Object
org.ddogleg.solver.impl.WrapRealRootsSturm
- All Implemented Interfaces:
PolynomialRoots
Wrapper around
FindRealRootsSturm for PolynomialRoots.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRoots()Returns all the found roots of the polynomial.booleanprocess(Polynomial poly) Finds the roots of the provided polynomial.
-
Constructor Details
-
WrapRealRootsSturm
-
-
Method Details
-
process
Description copied from interface:PolynomialRootsFinds the roots of the provided polynomial.
- Specified by:
processin interfacePolynomialRoots- Parameters:
poly- Polynomial being considered. Not modified.- Returns:
- true if successful.
-
getRoots
Description copied from interface:PolynomialRootsReturns all the found roots of the polynomial.- Specified by:
getRootsin interfacePolynomialRoots- Returns:
- roots
-