org.ddogleg.solver.impl
Class WrapRealRootsSturm
- java.lang.Object
-
- org.ddogleg.solver.impl.WrapRealRootsSturm
-
- All Implemented Interfaces:
- PolynomialRoots
public class WrapRealRootsSturm extends java.lang.Object implements PolynomialRoots
Wrapper aroundFindRealRootsSturmforPolynomialRoots.
-
-
Constructor Summary
Constructors Constructor and Description WrapRealRootsSturm(FindRealRootsSturm alg)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
WrapRealRootsSturm
public WrapRealRootsSturm(FindRealRootsSturm alg)
-
-
Method Detail
-
process
public boolean process(Polynomial poly)
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
public java.util.List<org.ejml.data.Complex64F> getRoots()
Description copied from interface:PolynomialRootsReturns all the found roots of the polynomial.- Specified by:
getRootsin interfacePolynomialRoots- Returns:
- roots
-
-
DataMelt 3.0 © DataMelt by jWork.ORG