Interface ParametricUnivariateFunction

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double[] gradient​(double x, double... parameters)
      Compute the gradient of the function with respect to its parameters.
      double value​(double x, double... parameters)
      Compute the value of the function.
    • Method Detail

      • value

        double value​(double x,
                     double... parameters)
        Compute the value of the function.
        Parameters:
        x - Point for which the function value should be computed.
        parameters - Function parameters.
        Returns:
        the value.
      • gradient

        double[] gradient​(double x,
                          double... parameters)
        Compute the gradient of the function with respect to its parameters.
        Parameters:
        x - Point for which the function value should be computed.
        parameters - Function parameters.
        Returns:
        the value.