|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrvl.util.UniFunction
rvl.util.SolveObject
public class SolveObject
This class allows one to set up a hook in any object to reference in Solve.illinois() or Solve.search(). Variables exist that allow a specification of the domain, whether the endpoints are open or closed, and various convergence criteria. Instances should define the "of" method, and modify the bounds and other parameters as appropriate. To use, have the class implement Solvable, set up a suitable solveHook(m,x) method that returns a function value at x for each desired mode m. Define new SolveObject variables where needed; modify the bounds and convergence parameters as appropriate.
Solve| Field Summary | |
|---|---|
boolean |
closedMax
|
boolean |
closedMin
|
double |
feps
|
int |
maxIter
Controls for solving process |
int |
maxSearch
Controls for solving process |
boolean |
verbose
|
double |
xeps
|
double |
xMax
Domain of the function |
double |
xMin
Domain of the function |
| Constructor Summary | |
|---|---|
SolveObject(int m,
Solvable p)
Instantiate a SolveObject. |
|
| Method Summary | |
|---|---|
double |
of(double x)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double xMin
public double xMax
public boolean closedMin
public boolean closedMax
public int maxIter
public int maxSearch
public double feps
public double xeps
public boolean verbose
| Constructor Detail |
|---|
public SolveObject(int m,
Solvable p)
m - mode number passed to solveHookp - object containing the solveHook| Method Detail |
|---|
public double of(double x)
of in class UniFunction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||