public class CubicRealRootFinder extends Object implements Polynomial1DRootFinder<Double>
CubicRootFinder
and returns only the real roots. If there are no real roots, an exception is thrown.| Constructor and Description |
|---|
CubicRealRootFinder() |
public Double[] getRoots(RealPolynomialFunction1D function)
getRoots in interface Polynomial1DRootFinder<Double>function - The function, not nullCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.