edu.jhu.ece.iacl.algorithms.vabra
Class NumericalRecipes
java.lang.Object
edu.jhu.ece.iacl.algorithms.vabra.NumericalRecipes
public class NumericalRecipes
- extends java.lang.Object
An implementation of a number of numerical recipies, as obfuscated and
antiquated as they might be.
- Author:
- Blake Lucas
Method Summary |
void |
dlinmind(double[] p,
double[] xi,
int n,
double[] fret,
NumericalMethod func,
double[] xmin,
int flag,
double[] step)
|
void |
linmin(float[] p,
float[] xi,
int n,
float[] fret,
NumericalMethod func,
float[] xmin,
int flag,
float[] step)
|
protected void |
mnbrakd(double[] ax,
double[] bx,
double[] cx,
double[] fa,
double[] fb,
double[] fc,
NumericalMethod func)
|
void |
SHFT(double[] val1,
double[] val2,
double[] val3,
double[] val4)
|
void |
SHFT(float[] val1,
float[] val2,
float[] val3,
float[] val4)
|
double |
SIGN(double a,
double b)
|
float |
SIGN(float a,
float b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GOLD
public static final double GOLD
- See Also:
- Constant Field Values
GLIMIT
public static final double GLIMIT
- See Also:
- Constant Field Values
TINY
public static final double TINY
- See Also:
- Constant Field Values
ITMAX
public static final int ITMAX
- See Also:
- Constant Field Values
CGOLD
public static final double CGOLD
- See Also:
- Constant Field Values
ZEPS
public static final double ZEPS
- See Also:
- Constant Field Values
TOL
public static final double TOL
- See Also:
- Constant Field Values
ncom
protected int ncom
pcom
protected float[] pcom
xicom
protected float[] xicom
nrfunc
protected NumericalMethod nrfunc
NumericalRecipes
public NumericalRecipes()
SIGN
public float SIGN(float a,
float b)
SIGN
public double SIGN(double a,
double b)
SHFT
public void SHFT(float[] val1,
float[] val2,
float[] val3,
float[] val4)
SHFT
public void SHFT(double[] val1,
double[] val2,
double[] val3,
double[] val4)
linmin
public void linmin(float[] p,
float[] xi,
int n,
float[] fret,
NumericalMethod func,
float[] xmin,
int flag,
float[] step)
mnbrakd
protected void mnbrakd(double[] ax,
double[] bx,
double[] cx,
double[] fa,
double[] fb,
double[] fc,
NumericalMethod func)
dlinmind
public void dlinmind(double[] p,
double[] xi,
int n,
double[] fret,
NumericalMethod func,
double[] xmin,
int flag,
double[] step)