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
-
Method Summary
Modifier and TypeMethodDescriptiongetRoots()
Returns all the found roots of the polynomial.boolean
process
(Polynomial poly) Finds the roots of the provided polynomial.
-
Constructor Details
-
WrapRealRootsSturm
-
-
Method Details
-
process
Description copied from interface:PolynomialRoots
Finds the roots of the provided polynomial.
- Specified by:
process
in interfacePolynomialRoots
- Parameters:
poly
- Polynomial being considered. Not modified.- Returns:
- true if successful.
-
getRoots
Description copied from interface:PolynomialRoots
Returns all the found roots of the polynomial.- Specified by:
getRoots
in interfacePolynomialRoots
- Returns:
- roots
-