|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.math.rootfinders.BracketRoot
public class BracketRoot
Find interval bracketing a root.
Constructor Summary | |
---|---|
BracketRoot()
|
Method Summary | |
---|---|
static boolean |
bracketRoot(double[] bracket,
MonadicFunction function,
int maxIter,
double expansionFactor)
Find interval bracketing a root. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BracketRoot()
Method Detail |
---|
public static boolean bracketRoot(double[] bracket, MonadicFunction function, int maxIter, double expansionFactor)
bracket
- Array containing initial estimate for
of bracketing interval.
bracket[0] is left hand estimate.
bracket[1] is right hand estimate.function
- Function whose root is to be bracketed.maxIter
- Maximum number of iterations to try
expanding bracket.expansionFactor
- Factor by which to expand bracket interval
on each iteration.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |