Interface GradientFunctionEvaluatorListener


public interface GradientFunctionEvaluatorListener
Listener to evaluate/retrieve a multidimensional function's gradient.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    evaluateGradient(double[] params, double[] result)
    Computes/retrieves a multidimensional function's gradient.
  • Method Details

    • evaluateGradient

      void evaluateGradient(double[] params, double[] result) throws EvaluationException
      Computes/retrieves a multidimensional function's gradient.
      Parameters:
      params - Array of input parameters of a multidimensional function
      result - 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.