| Constructor and Description |
|---|
NegativeFunction(Function f)
|
| Modifier and Type | Method and Description |
|---|---|
double |
evaluateFunction(double[] x)
Evaluates the function at a certain vector (in mathematical sense)
x. |
int |
getDimensionOfScope()
Returns the dimension of the scope of the
Function. |
public double evaluateFunction(double[] x)
throws DimensionException,
EvaluationException
Functionx.evaluateFunction in interface Functionx - the current vectorDimensionException - if dim(x) != n, with 
EvaluationException - if there was something wrong during the evaluation of the
functionpublic int getDimensionOfScope()
FunctionFunction.getDimensionOfScope in interface Functionn with
