| Constructor and Description |
|---|
ConstantFunction(double v)
|
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(double x)
Evaluates f(x).
|
double[] |
evaluateInverse(double y)
Returns all the x-values for the equation f(x) = y.
|
public double evaluate(double x)
Function
public double[] evaluateInverse(double y)
Function
evaluateInverse in interface
Function
y - a possible output of this function.