public class RootFinder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static double |
brentDekker(double a,
double b,
MathFunction f,
double tol)
Computes a root x of the function in f using the
Brent-Dekker method.
|
public static double brentDekker(double a,
double b,
MathFunction f,
double tol)
a - left endpoint of initial intervalb - right endpoint of initial intervalf - the function which is evaluatedtol - accuracy goalTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.