|
SSJ V. 2.6. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectumontreal.iro.lecuyer.util.RootFinder
public class RootFinder
This class provides methods to solve non-linear equations.
| Method Summary | |
|---|---|
static double |
bisection(double a,
double b,
MathFunction f,
double tol)
Computes a root x of the function in f using the bisection method. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 goal
public static double bisection(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 goal
|
SSJ V. 2.6. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||