JavaView® v2.00.008

jvx.numeric
Class PnConjugateGradient

java.lang.Object
  |
  +--jvx.numeric.PnConjugateGradient
All Implemented Interfaces:
java.io.Serializable

public class PnConjugateGradient
extends java.lang.Object
implements java.io.Serializable

Minimize functionals using conjugate gradient method.

Version:
00.00.98, 1.00 revised (kp)
00.00.98, 1.00 created (kp)
Author:
Numerical Recipes, changed to Java and adapted by Konrad Polthier
See Also:
Serialized Form

Field Summary
protected static double EPS
           
protected static int ITMAX
          Maximal number of CG-iterations after which minimization terminates with warning.
protected  PdVector m_g
           
protected  PdVector m_h
           
protected  jvx.numeric.PnLinMin_Local m_linmin
           
protected  int m_size
           
protected  PdVector m_xi
           
 
Constructor Summary
PnConjugateGradient()
           
 
Method Summary
 double dfrprmn(PdVector p, double fTol, PnFunction func)
           
 int getNumIterations()
           
protected  void setSize(int aSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ITMAX

protected static int ITMAX
Maximal number of CG-iterations after which minimization terminates with warning.

EPS

protected static double EPS

m_size

protected int m_size

m_linmin

protected jvx.numeric.PnLinMin_Local m_linmin

m_g

protected PdVector m_g

m_h

protected PdVector m_h

m_xi

protected PdVector m_xi
Constructor Detail

PnConjugateGradient

public PnConjugateGradient()
Method Detail

getNumIterations

public int getNumIterations()

setSize

protected void setSize(int aSize)

dfrprmn

public double dfrprmn(PdVector p,
                      double fTol,
                      PnFunction func)

JavaView® v2.00.008

The software JavaView® is copyright protected. All Rights Reserved.