Class GaussianDerivativeFunction

    • Constructor Detail

      • GaussianDerivativeFunction

        public GaussianDerivativeFunction​(double b,
                                          double c,
                                          double d)
        Constructs an instance with the specified parameters.
        Parameters:
        b - b parameter value
        c - c parameter value
        d - d parameter value
        Throws:
        IllegalArgumentException - if d is 0
      • GaussianDerivativeFunction

        public GaussianDerivativeFunction​(double[] parameters)
        Constructs an instance with the specified parameters.
        Parameters:
        parameters - b, c, and d parameter values
        Throws:
        IllegalArgumentException - if parameters is null, parameters length is not 3, or if parameters[2] is 0
    • Method Detail

      • value

        public double value​(double x)
        Compute the value for the function.
        Specified by:
        value in interface UnivariateRealFunction
        Parameters:
        x - the point for which the function value should be computed
        Returns:
        the value