us.ihmc.utilities.math
Class NewtonRaphsonMethod

java.lang.Object
  extended by us.ihmc.utilities.math.NewtonRaphsonMethod

public class NewtonRaphsonMethod
extends java.lang.Object


Constructor Summary
NewtonRaphsonMethod(int maxIterations, double epsilon)
           
NewtonRaphsonMethod(int maxIterations, double epsilon, double initialX, double initialY)
           
 
Method Summary
 int getIterations()
           
 double nextX()
           
 boolean stop()
           
 void update(double x, double y)
           
 void update(double x, double y, double derivative)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewtonRaphsonMethod

public NewtonRaphsonMethod(int maxIterations,
                           double epsilon)

NewtonRaphsonMethod

public NewtonRaphsonMethod(int maxIterations,
                           double epsilon,
                           double initialX,
                           double initialY)
Method Detail

update

public void update(double x,
                   double y)

update

public void update(double x,
                   double y,
                   double derivative)

nextX

public double nextX()

stop

public boolean stop()

getIterations

public int getIterations()