Documentation of 'org.encog.mathutil.rbf.GaussianFunction' Java class
GaussianFunction
org.encog.mathutil.rbf

Class GaussianFunction

  • All Implemented Interfaces:
    java.io.Serializable, RadialBasisFunction


    public class GaussianFunction
    extends BasicRBF
    Multi-dimensional gaussian function. Do not use this to implement a 1d function, simply use GaussianFunction for that.
    See Also:
    Serialized Form
    • Constructor Detail

      • GaussianFunction

        public GaussianFunction()
        Default constructor, used for reflection.
      • GaussianFunction

        public GaussianFunction(double center,
                                double peak,
                                double width)
        Construct a single-dimension Gaussian function with the specified peak, centers and widths.
        Parameters:
        peak - The peak for all dimensions.
        center - The centers for each dimension.
        width - The widths for each dimension.
      • GaussianFunction

        public GaussianFunction(double peak,
                                double[] center,
                                double width)
        Construct a multi-dimension Gaussian function with the specified peak, centers and widths.
        Parameters:
        peak - The peak for all dimensions.
        center - The centers for each dimension.
        width - The widths for each dimension.
      • GaussianFunction

        public GaussianFunction(int dimensions)
        Create centered at zero, width 0, and peak 0.
        Parameters:
        dimensions - The number of dimensions.
    • Method Detail

      • calculate

        public final double calculate(double[] x)
        Calculate the result from the function.
        Parameters:
        x - The parameters for the function, one for each dimension.
        Returns:
        The result of the function.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.