dwvisser.statistics
Class BracketMinimum
java.lang.Object
|
+--dwvisser.statistics.BracketMinimum
- public class BracketMinimum
- extends java.lang.Object
Based on mnbrak.c in "Numerical Recipes"
Given 2 initial points axi and bxi, this routine searches in the downhill
direction (defined by the function as evaluated at the initial points)
and returns new points ax,bx cx that bracket a minimum of the function.
Also returned are the function values at the 3 points, fa, fb, and fc.
Field Summary |
double |
ax
|
double |
bx
|
double |
cx
|
double |
fa
|
double |
fb
|
double |
fc
|
Method Summary |
void |
bracket(double axi,
double bxi)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ax
public double ax
bx
public double bx
cx
public double cx
fa
public double fa
fb
public double fb
fc
public double fc
BracketMinimum
public BracketMinimum(Function f)
bracket
public void bracket(double axi,
double bxi)