|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gersteinlab.regulation.numeric.Function
public abstract class Function
A class that represents a univariate real function. Each inherited class should implement at least one of f(double) and f().
Change History: 1.0 - Initial version
Field Summary | |
---|---|
protected double |
xStored
|
Constructor Summary | |
---|---|
Function()
|
Method Summary | |
---|---|
double |
f()
Evaluate the value of the function at the last stored point. |
double |
f(double x)
Evaluate the value of the function at a point. |
void |
set(double x)
Store the next point to be evaluated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double xStored
Constructor Detail |
---|
public Function()
Method Detail |
---|
public double f(double x)
x
- The point
public void set(double x)
x
- The pointpublic double f()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |