Interface Polynomial1DRootFinder<T>
-
- Type Parameters:
T
- Type of the roots.
- All Known Implementing Classes:
CubicRealRootFinder
,CubicRootFinder
,EigenvaluePolynomialRootFinder
,LaguerrePolynomialRealRootFinder
,QuadraticRealRootFinder
public interface Polynomial1DRootFinder<T>
Interface for classes that find the roots of a polynomial functionRealPolynomialFunction1D
. Although the coefficients of the polynomial function must be real, the roots can be real or complex.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T[]
getRoots(RealPolynomialFunction1D function)
-
-
-
Method Detail
-
getRoots
T[] getRoots(RealPolynomialFunction1D function)
- Parameters:
function
- The function, not null- Returns:
- The roots of the function
-
-