Package com.irurueta.numerical
Interface GradientFunctionEvaluatorListener
public interface GradientFunctionEvaluatorListener
Listener to evaluate/retrieve a multidimensional function's gradient.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
evaluateGradient
(double[] params, double[] result) Computes/retrieves a multidimensional function's gradient.
-
Method Details
-
evaluateGradient
Computes/retrieves a multidimensional function's gradient.- Parameters:
params
- Array of input parameters of a multidimensional functionresult
- Array containing estimated gradient. This parameter must contain an already instantiated array having the same length as params. The values of this gradient will be rewritten after executing this method and this array will contain the estimated or evaluated gradient- Throws:
EvaluationException
- Raised if something fails.
-