public interface Uniroot
double solve(UnivariateRealFunction f, double lower, double upper, double... guess) throws NoRootFoundException
f- a univariate function
lower- the lower bound of the bracketing interval
upper- the upper bound of the bracketing interval
guess- an initial guess of the root within [lower, upper]. Note that
double. This signature allows multiple initial guesses for certain types of uniroot algorithms, e.g., Brent's algorithm.
NoRootFoundException- when the search fails to find a root
Copyright © 2010-2018 Numerical Method Incorporation Limited. All Rights Reserved.