public interface Function
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 . |
double evaluateFunction(double[] x) throws DimensionException, EvaluationException
x
.x
- the current vectorDimensionException
- if dim(x) != n
, with EvaluationException
- if there was something wrong during the evaluation of the
functionint getDimensionOfScope()
Function
.n
with