|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--SolvFunction
Simple implementation of Solvable for a Function. This class is intended to be used for the plotting of simple
functions.
| Field Summary | |
protected Function |
function
|
| Constructor Summary | |
SolvFunction(Function f)
|
|
| Method Summary | |
void |
solve(double x0,
double step,
double[] vals)
Simply evaluates the function at each value of x0. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected Function function
| Constructor Detail |
public SolvFunction(Function f)
f - The function to be used when producing results| Method Detail |
public void solve(double x0,
double step,
double[] vals)
x0 - The initial x-valuestep - The increment to be applied to x0vals - The array which will hold the solution data
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||