|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gersteinlab.regulation.numeric.MultivariateFunction
public abstract class MultivariateFunction
A class that represents a multivariate 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 | |
|---|---|
MultivariateFunction()
|
|
| 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 MultivariateFunction()
| 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 | |||||||||