|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface to access algorithms that solve single equations.
Method Summary | |
double |
getAccuracy()
Get the accuracy of the answer. |
int |
getMaxIterations()
Get the maximum number of iterations. |
void |
setAccuracy(double accuracy)
Set the accuracy of the answer. |
void |
setMaxIterations(int maxIterations)
Set the maximum number of iterations. |
double |
solve(FunctionI function,
double x1,
double x2,
double y)
Find x between x1 and x2 where f(x) = y. |
Method Detail |
public void setAccuracy(double accuracy)
public double getAccuracy()
public void setMaxIterations(int maxIterations)
public int getMaxIterations()
public double solve(FunctionI function, double x1, double x2, double y) throws NonlinearException, AccuracyException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |