org.shetline.math
Class ZeroFinder
java.lang.Object
org.shetline.math.ZeroFinder
public abstract class ZeroFinder
- extends Object
Constructor Summary |
ZeroFinder(Object client,
double tolerance,
int maxIterations,
double x1,
double y1,
double x2,
double y2,
Number... params)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected Object client
tolerance
protected double tolerance
maxIterations
protected int maxIterations
x1
protected double x1
y1
protected double y1
x2
protected double x2
y2
protected double y2
param
protected double[] param
x
protected double x
y
protected double y
iterationCount
protected int iterationCount
ZeroFinder
public ZeroFinder(Object client,
double tolerance,
int maxIterations,
double x1,
double y1,
double x2,
double y2,
Number... params)
getXAtZero
public double getXAtZero()
getLastY
public double getLastY()
getIterationCount
public int getIterationCount()
zeroSeekingFunction
public abstract double zeroSeekingFunction(double x)