@Status(stage=DEVELOPMENT, unitTests=COMPLETE) @Review(by="Kees Schotanus", at="2009-09-28") public interface RootFinderStrategy
| Modifier and Type | Method and Description |
|---|---|
double |
findRoot(SingleParameterFunction function,
double left,
double right)
Finds a root of the supplied function, within the supplied interval
[left, right], using a
RootFinderStrategy. |
double findRoot(SingleParameterFunction function, double left, double right)
RootFinderStrategy.function - The function for which a root should be found.left - x value of the left side of the interval.
right - x value of the right side of the interval.
IllegalArgumentException - when left equals right or when both
function(left) and function(right) are of equal sign or when either
function(left) or function(right) is "Not a Number".NullPointerException - when the supplied function is null.Copyright © 2008–2017. All rights reserved.