numericalMethods.calculus.minimizing
Class ConjugateGradient

java.lang.Object
  |
  +--numericalMethods.calculus.minimizing.ConjugateGradient
All Implemented Interfaces:
java.io.Serializable

public final class ConjugateGradient
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private) static double CGOLD
           
(package private) static boolean debug
           
(package private) static double EPS
           
(package private) static int iter
           
(package private) static int ITMAX
           
 
Constructor Summary
ConjugateGradient()
           
 
Method Summary
static boolean getDebug()
          Get the value of debug.
static int getIter()
          Get the value of iter.
static int getITMAX()
          Get the value of ITMAX.
static boolean getUseDBrent()
          Get the value of useDBrent.
static double search(double[] p, double ftol, numericalMethods.function.DoubleArrayParametrized F, numericalMethods.function.DoubleValued f, numericalMethods.function.DoubleArrayValued df)
           
static double search(double[] p, double ftol, numericalMethods.function.DoubleArrayParametrized F, numericalMethods.function.DoubleValued f, numericalMethods.function.DoubleArrayValued df, int itMax, boolean useDBrent, boolean debug)
           
static double search(double[] p, double ftol, numericalMethods.function.DoubleValued f)
           
static void setDebug(boolean v)
          Set the value of debug.
static void setITMAX(int v)
          Set the value of ITMAX.
static void setUseDBrent(boolean v)
          Set the value of useDBrent.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CGOLD

static final double CGOLD

ITMAX

static int ITMAX

EPS

static final double EPS

debug

static boolean debug

iter

static int iter
Constructor Detail

ConjugateGradient

public ConjugateGradient()
Method Detail

getITMAX

public static int getITMAX()
Get the value of ITMAX.
Returns:
Value of ITMAX.

setITMAX

public static void setITMAX(int v)
Set the value of ITMAX.
Parameters:
v - Value to assign to ITMAX.

getDebug

public static boolean getDebug()
Get the value of debug.
Returns:
Value of debug.

setDebug

public static void setDebug(boolean v)
Set the value of debug.
Parameters:
v - Value to assign to debug.

getIter

public static int getIter()
Get the value of iter.
Returns:
Value of iter.

getUseDBrent

public static boolean getUseDBrent()
Get the value of useDBrent.
Returns:
Value of useDBrent.

setUseDBrent

public static void setUseDBrent(boolean v)
Set the value of useDBrent.
Parameters:
v - Value to assign to useDBrent.

search

public static double search(double[] p,
                            double ftol,
                            numericalMethods.function.DoubleValued f)

search

public static double search(double[] p,
                            double ftol,
                            numericalMethods.function.DoubleArrayParametrized F,
                            numericalMethods.function.DoubleValued f,
                            numericalMethods.function.DoubleArrayValued df)

search

public static double search(double[] p,
                            double ftol,
                            numericalMethods.function.DoubleArrayParametrized F,
                            numericalMethods.function.DoubleValued f,
                            numericalMethods.function.DoubleArrayValued df,
                            int itMax,
                            boolean useDBrent,
                            boolean debug)