org.jscience.physics.nuclear.kinematics.math.statistics
Class BracketMinimum

java.lang.Object
  extended by org.jscience.physics.nuclear.kinematics.math.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
          DOCUMENT ME!
 double bx
          DOCUMENT ME!
 double cx
          DOCUMENT ME!
 double fa
          DOCUMENT ME!
 double fb
          DOCUMENT ME!
 double fc
          DOCUMENT ME!
 
Constructor Summary
BracketMinimum(Function f)
          Creates a new BracketMinimum object.
 
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
 

Field Detail

ax

public double ax
DOCUMENT ME!


bx

public double bx
DOCUMENT ME!


cx

public double cx
DOCUMENT ME!


fa

public double fa
DOCUMENT ME!


fb

public double fb
DOCUMENT ME!


fc

public double fc
DOCUMENT ME!

Constructor Detail

BracketMinimum

public BracketMinimum(Function f)
Creates a new BracketMinimum object.

Parameters:
f - DOCUMENT ME!
Method Detail

bracket

public void bracket(double axi,
                    double bxi)
Parameters:
axi - DOCUMENT ME!
bxi - DOCUMENT ME!