Class PolynomialFunction.Parametric

    • Constructor Summary

      Constructors 
      Constructor Description
      Parametric()  
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Parametric

        public Parametric()
    • Method Detail

      • gradient

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

        public double value​(double x,
                            double... parameters)
                     throws NoDataException
        Compute the value of the function.
        Specified by:
        value in interface ParametricUnivariateFunction
        Parameters:
        x - Point for which the function value should be computed.
        parameters - Function parameters.
        Returns:
        the value.
        Throws:
        NoDataException