Package com.irurueta.numerical
Interface MultiVariateFunctionEvaluatorListener
public interface MultiVariateFunctionEvaluatorListener
Interface to define how multivariate functions can be evaluated.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
evaluate
(double[] point, double[] result) Evaluates a multi variate function such as f1(x1, x2, ...), f2(x1, x2, ...) at provided multidimensional point and returns the result as a vectorial valueint
Number of variables of function f.
-
Method Details
-
evaluate
Evaluates a multi variate function such as f1(x1, x2, ...), f2(x1, x2, ...) at provided multidimensional point and returns the result as a vectorial value- Parameters:
point
- multidimensional point where function will be evaluatedresult
- vector where function evaluation will be stored- Throws:
EvaluationException
- if something failed during the evaluation
-
getNumberOfVariables
int getNumberOfVariables()Number of variables of function f. This is equal to the length of the array obtained as function evaluations. Hence, a function f can be expressed as f = [f1, f2, ... fN], and the number of variables would be N- Returns:
- number of variables of function f
-