numericalMethods.calculus.minimizing
Class ConjugateGradient

java.lang.Object
  extended bynumericalMethods.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

Constructor Summary
ConjugateGradient()
           
 
Method Summary
static void clean()
           
static boolean getDebug()
          Get the value of debug.
static int getIter()
          Get the value of iter.
static double getITMAX()
          Get the value of ITMAX.
static boolean getUseDBrent()
          Get the value of useDBrent.
static double search(double[] p, double ftol, DoubleArrayParametrized F, DoubleValued f, DoubleArrayValued df)
           
static double search(double[] p, double ftol, DoubleValued f)
           
static void setDebug(boolean v)
          Set the value of debug.
static void setITMAX(double 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
 

Constructor Detail

ConjugateGradient

public ConjugateGradient()
Method Detail

getITMAX

public static double getITMAX()
Get the value of ITMAX.

Returns:
Value of ITMAX.

setITMAX

public static void setITMAX(double 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.

clean

public static void clean()

search

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

search

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