uk.me.parabola.mkgmap.reader.dem
Class Brent

java.lang.Object
  extended by uk.me.parabola.mkgmap.reader.dem.Brent

public class Brent
extends java.lang.Object

Find zero of a function using Brent's method.


Nested Class Summary
static interface Brent.Function
           
 
Constructor Summary
Brent()
           
 
Method Summary
static double zero(Brent.Function f, double x1, double x2)
           
static double zero(Brent.Function f, double x1, double x2, double tol, int maxit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Brent

public Brent()
Method Detail

zero

public static double zero(Brent.Function f,
                          double x1,
                          double x2)

zero

public static double zero(Brent.Function f,
                          double x1,
                          double x2,
                          double tol,
                          int maxit)